{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "1fbd461a",
   "metadata": {},
   "source": [
    "---  \n",
    "* 2022/9/6\n",
    "* 课堂笔记\n",
    "---"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "7b610a64",
   "metadata": {},
   "source": [
    "# 变量的概念\n",
    "\n",
    "#### > 1.回顾变量的概念\n",
    "#### > 2.条件判断\n",
    "#### > 3.for循环和range方法\n",
    "#### > 4."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b23e2ebf",
   "metadata": {},
   "source": [
    "## 1.回顾变量的概念"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "a8b9e7cf",
   "metadata": {},
   "outputs": [],
   "source": [
    "网新_01_ID = \"001\"\n",
    "\n",
    "网新_02_ID = \"002\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "9cc9aab2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'001'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "网新_01_ID"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "42635f87",
   "metadata": {},
   "outputs": [],
   "source": [
    "网新_01_Age = \"19\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "cf29ef6c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'19'"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "网新_01_Age"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "f6c70417",
   "metadata": {},
   "source": [
    "## 2.条件判断\n",
    "##### if else"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "e9737c68",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.date(2022, 9, 6)"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import datetime\n",
    "datetime.date.today()\n",
    "# datetime可以获取到到年月日，但不能显示星期几"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "0c05a893",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 可以知道是星期几\n",
    "import time\n",
    "time.localtime().tm_wday"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "f1b5bb9d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Work, work, work.\n"
     ]
    }
   ],
   "source": [
    "# 创建today变量（模块获取今天星期几？）\n",
    "# 知识点： 1.先创建变量，才能进行判断\n",
    "#          2.if语句 观察条件并判断块的位置\n",
    "#          3.按照条件块的间隙 找到归属关系\n",
    "today = \"Monday\"\n",
    "condition = \"good\"\n",
    "\n",
    "if today == \"Saturday\":\n",
    "    print(\"超开心呢\")\n",
    "elif today == \"Sunday\":\n",
    "    if condition == \"Headache\":\n",
    "        print(\"Recover, then rest.\")\n",
    "    else:\n",
    "        print(\"Rest.\")\n",
    "else:\n",
    "    print(\"Work, work, work.\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "e52620c5",
   "metadata": {},
   "outputs": [],
   "source": [
    "# wkday = 0 1 2 3 4 5 6    分别指周一到周日\n",
    "import time\n",
    "\n",
    "wkday  = time.localtime().tm_wday"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "d86cc038",
   "metadata": {},
   "outputs": [],
   "source": [
    "time_hour = time.localtime().tm_hour"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "d564ab9c",
   "metadata": {},
   "outputs": [],
   "source": [
    "time_min = time.localtime().tm_min"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "id": "6a37d40a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "也在上课\n"
     ]
    }
   ],
   "source": [
    "if wkday != 1:\n",
    "    print(\"今天python课\")\n",
    "elif time_hour == 12 and time_min > 50:\n",
    "    print(\"正在上课\")\n",
    "elif time_hour == 13:\n",
    "    print(\"也在上课\")\n",
    "elif time_hour == 14:\n",
    "    print(\"还在上课\")\n",
    "elif time_hour == 15:\n",
    "    print(\"没有意外地还在上课\")\n",
    "elif time_hour == 16 and time_min < 50:\n",
    "    print(\"终于下课了\")\n",
    "else:\n",
    "    print(\"今天有课，从中午到下午...醉醉子\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "665ef27f",
   "metadata": {},
   "source": [
    "#### 用例一 循环迭代数字变量"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "id": "2fefad54",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1\n",
      "2\n",
      "3\n"
     ]
    }
   ],
   "source": [
    "# 按顺序\n",
    "for i in [1,2,3]:\n",
    "    print(i)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "id": "32c97d01",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2100001\n",
      "2100002\n",
      "2100003\n"
     ]
    }
   ],
   "source": [
    "# 可整理序号使用\n",
    "for i in [1,2,3]:\n",
    "    print(i+2100000)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b7bac874",
   "metadata": {},
   "source": [
    "#### 用例二 循环迭代字符串变量"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "id": "410206e9",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "H\n",
      "i\n",
      "!\n"
     ]
    }
   ],
   "source": [
    "for ch in \"Hi!\":\n",
    "    print(ch)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "885adfde",
   "metadata": {},
   "source": [
    "#### 用例三 迭代指定的次数"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "id": "9dc1079e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Head First Rocks!\n",
      "Head First Rocks!\n",
      "Head First Rocks!\n",
      "Head First Rocks!\n",
      "Head First Rocks!\n"
     ]
    }
   ],
   "source": [
    "for num in range(5):\n",
    "    print('Head First Rocks!')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "id": "52da3da4",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0\n",
      "1\n",
      "2\n",
      "3\n",
      "4\n"
     ]
    }
   ],
   "source": [
    "# range()自动生成想要的数值，可以控制for循环的次数，一个值，就是从0开始\n",
    "for num in range(5):\n",
    "    print(num)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "id": "d72f52fb",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2\n",
      "3\n",
      "4\n"
     ]
    }
   ],
   "source": [
    "# range()自动生成想要的数值，可以控制for循环的次数，两个值，从小数2开始，个数是大的减小的，即：5-2=3\n",
    "for num in range(2,5):\n",
    "    print(num)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "id": "88e08517",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0\n",
      "3\n",
      "6\n",
      "9\n"
     ]
    }
   ],
   "source": [
    "# 三个值，第三个值决定step的步长\n",
    "for num in range(0,10,3):\n",
    "    print(num)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "id": "c5ac8442",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://www.nfu.edu.cn/ztb/index0.htm\n",
      "https://www.nfu.edu.cn/ztb/index1.htm\n",
      "https://www.nfu.edu.cn/ztb/index2.htm\n",
      "https://www.nfu.edu.cn/ztb/index3.htm\n",
      "https://www.nfu.edu.cn/ztb/index4.htm\n",
      "https://www.nfu.edu.cn/ztb/index5.htm\n",
      "https://www.nfu.edu.cn/ztb/index6.htm\n",
      "https://www.nfu.edu.cn/ztb/index7.htm\n",
      "https://www.nfu.edu.cn/ztb/index8.htm\n",
      "https://www.nfu.edu.cn/ztb/index9.htm\n",
      "https://www.nfu.edu.cn/ztb/index10.htm\n",
      "https://www.nfu.edu.cn/ztb/index11.htm\n",
      "https://www.nfu.edu.cn/ztb/index12.htm\n",
      "https://www.nfu.edu.cn/ztb/index13.htm\n",
      "https://www.nfu.edu.cn/ztb/index14.htm\n",
      "https://www.nfu.edu.cn/ztb/index15.htm\n",
      "https://www.nfu.edu.cn/ztb/index16.htm\n",
      "https://www.nfu.edu.cn/ztb/index17.htm\n",
      "https://www.nfu.edu.cn/ztb/index18.htm\n",
      "https://www.nfu.edu.cn/ztb/index19.htm\n",
      "https://www.nfu.edu.cn/ztb/index20.htm\n",
      "https://www.nfu.edu.cn/ztb/index21.htm\n",
      "https://www.nfu.edu.cn/ztb/index22.htm\n",
      "https://www.nfu.edu.cn/ztb/index23.htm\n",
      "https://www.nfu.edu.cn/ztb/index24.htm\n",
      "https://www.nfu.edu.cn/ztb/index25.htm\n",
      "https://www.nfu.edu.cn/ztb/index26.htm\n"
     ]
    }
   ],
   "source": [
    "# 可以让网页每一页的链接显示出来\n",
    "中大南方_招投标 = \"https://www.nfu.edu.cn/ztb/index.htm\"\n",
    "for page in range(27):\n",
    "    print(\"https://www.nfu.edu.cn/ztb/index\" + str(page) + \".htm\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5db4f2db",
   "metadata": {},
   "source": [
    "## 5.Random模块"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "id": "325ead00",
   "metadata": {},
   "outputs": [],
   "source": [
    "import random"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "id": "76c5e084",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0.8622199514112083"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 随机一个数在0-1之间\n",
    "random.random()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "id": "1a1c7f52",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "4"
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# random.randint(a,b),随机生成a-b之间的一个数\n",
    "random.randint(1,6)\n",
    "# 就是在1-6之间随机显示一个整数值"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "id": "c3660dc8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "5\n",
      "2\n",
      "4\n",
      "5\n",
      "1\n"
     ]
    }
   ],
   "source": [
    "# 在1-6之间随机出现5个数值\n",
    "for i in range(5):\n",
    "    print(random.randint(1,6))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "id": "bcd6527c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'1'"
      ]
     },
     "execution_count": 57,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 随机在1，2，3中选择一个数\n",
    "random.choice([\"1\",\"2\",\"3\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "id": "52f287d2",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on module random:\n",
      "\n",
      "NAME\n",
      "    random - Random variable generators.\n",
      "\n",
      "MODULE REFERENCE\n",
      "    https://docs.python.org/3.9/library/random\n",
      "    \n",
      "    The following documentation is automatically generated from the Python\n",
      "    source files.  It may be incomplete, incorrect or include features that\n",
      "    are considered implementation detail and may vary between Python\n",
      "    implementations.  When in doubt, consult the module reference at the\n",
      "    location listed above.\n",
      "\n",
      "DESCRIPTION\n",
      "        bytes\n",
      "        -----\n",
      "               uniform bytes (values between 0 and 255)\n",
      "    \n",
      "        integers\n",
      "        --------\n",
      "               uniform within range\n",
      "    \n",
      "        sequences\n",
      "        ---------\n",
      "               pick random element\n",
      "               pick random sample\n",
      "               pick weighted random sample\n",
      "               generate random permutation\n",
      "    \n",
      "        distributions on the real line:\n",
      "        ------------------------------\n",
      "               uniform\n",
      "               triangular\n",
      "               normal (Gaussian)\n",
      "               lognormal\n",
      "               negative exponential\n",
      "               gamma\n",
      "               beta\n",
      "               pareto\n",
      "               Weibull\n",
      "    \n",
      "        distributions on the circle (angles 0 to 2pi)\n",
      "        ---------------------------------------------\n",
      "               circular uniform\n",
      "               von Mises\n",
      "    \n",
      "    General notes on the underlying Mersenne Twister core generator:\n",
      "    \n",
      "    * The period is 2**19937-1.\n",
      "    * It is one of the most extensively tested generators in existence.\n",
      "    * The random() method is implemented in C, executes in a single Python step,\n",
      "      and is, therefore, threadsafe.\n",
      "\n",
      "CLASSES\n",
      "    _random.Random(builtins.object)\n",
      "        Random\n",
      "            SystemRandom\n",
      "    \n",
      "    class Random(_random.Random)\n",
      "     |  Random(x=None)\n",
      "     |  \n",
      "     |  Random number generator base class used by bound module functions.\n",
      "     |  \n",
      "     |  Used to instantiate instances of Random to get generators that don't\n",
      "     |  share state.\n",
      "     |  \n",
      "     |  Class Random can also be subclassed if you want to use a different basic\n",
      "     |  generator of your own devising: in that case, override the following\n",
      "     |  methods:  random(), seed(), getstate(), and setstate().\n",
      "     |  Optionally, implement a getrandbits() method so that randrange()\n",
      "     |  can cover arbitrarily large ranges.\n",
      "     |  \n",
      "     |  Method resolution order:\n",
      "     |      Random\n",
      "     |      _random.Random\n",
      "     |      builtins.object\n",
      "     |  \n",
      "     |  Methods defined here:\n",
      "     |  \n",
      "     |  __getstate__(self)\n",
      "     |      # Issue 17489: Since __reduce__ was defined to fix #759889 this is no\n",
      "     |      # longer called; we leave it here because it has been here since random was\n",
      "     |      # rewritten back in 2001 and why risk breaking something.\n",
      "     |  \n",
      "     |  __init__(self, x=None)\n",
      "     |      Initialize an instance.\n",
      "     |      \n",
      "     |      Optional argument x controls seeding, as for Random.seed().\n",
      "     |  \n",
      "     |  __reduce__(self)\n",
      "     |      Helper for pickle.\n",
      "     |  \n",
      "     |  __setstate__(self, state)\n",
      "     |  \n",
      "     |  betavariate(self, alpha, beta)\n",
      "     |      Beta distribution.\n",
      "     |      \n",
      "     |      Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "     |      Returned values range between 0 and 1.\n",
      "     |  \n",
      "     |  choice(self, seq)\n",
      "     |      Choose a random element from a non-empty sequence.\n",
      "     |  \n",
      "     |  choices(self, population, weights=None, *, cum_weights=None, k=1)\n",
      "     |      Return a k sized list of population elements chosen with replacement.\n",
      "     |      \n",
      "     |      If the relative weights or cumulative weights are not specified,\n",
      "     |      the selections are made with equal probability.\n",
      "     |  \n",
      "     |  expovariate(self, lambd)\n",
      "     |      Exponential distribution.\n",
      "     |      \n",
      "     |      lambd is 1.0 divided by the desired mean.  It should be\n",
      "     |      nonzero.  (The parameter would be called \"lambda\", but that is\n",
      "     |      a reserved word in Python.)  Returned values range from 0 to\n",
      "     |      positive infinity if lambd is positive, and from negative\n",
      "     |      infinity to 0 if lambd is negative.\n",
      "     |  \n",
      "     |  gammavariate(self, alpha, beta)\n",
      "     |      Gamma distribution.  Not the gamma function!\n",
      "     |      \n",
      "     |      Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "     |      \n",
      "     |      The probability distribution function is:\n",
      "     |      \n",
      "     |                  x ** (alpha - 1) * math.exp(-x / beta)\n",
      "     |        pdf(x) =  --------------------------------------\n",
      "     |                    math.gamma(alpha) * beta ** alpha\n",
      "     |  \n",
      "     |  gauss(self, mu, sigma)\n",
      "     |      Gaussian distribution.\n",
      "     |      \n",
      "     |      mu is the mean, and sigma is the standard deviation.  This is\n",
      "     |      slightly faster than the normalvariate() function.\n",
      "     |      \n",
      "     |      Not thread-safe without a lock around calls.\n",
      "     |  \n",
      "     |  getstate(self)\n",
      "     |      Return internal state; can be passed to setstate() later.\n",
      "     |  \n",
      "     |  lognormvariate(self, mu, sigma)\n",
      "     |      Log normal distribution.\n",
      "     |      \n",
      "     |      If you take the natural logarithm of this distribution, you'll get a\n",
      "     |      normal distribution with mean mu and standard deviation sigma.\n",
      "     |      mu can have any value, and sigma must be greater than zero.\n",
      "     |  \n",
      "     |  normalvariate(self, mu, sigma)\n",
      "     |      Normal distribution.\n",
      "     |      \n",
      "     |      mu is the mean, and sigma is the standard deviation.\n",
      "     |  \n",
      "     |  paretovariate(self, alpha)\n",
      "     |      Pareto distribution.  alpha is the shape parameter.\n",
      "     |  \n",
      "     |  randbytes(self, n)\n",
      "     |      Generate n random bytes.\n",
      "     |  \n",
      "     |  randint(self, a, b)\n",
      "     |      Return random integer in range [a, b], including both end points.\n",
      "     |  \n",
      "     |  randrange(self, start, stop=None, step=1)\n",
      "     |      Choose a random item from range(start, stop[, step]).\n",
      "     |      \n",
      "     |      This fixes the problem with randint() which includes the\n",
      "     |      endpoint; in Python this is usually not what you want.\n",
      "     |  \n",
      "     |  sample(self, population, k, *, counts=None)\n",
      "     |      Chooses k unique random elements from a population sequence or set.\n",
      "     |      \n",
      "     |      Returns a new list containing elements from the population while\n",
      "     |      leaving the original population unchanged.  The resulting list is\n",
      "     |      in selection order so that all sub-slices will also be valid random\n",
      "     |      samples.  This allows raffle winners (the sample) to be partitioned\n",
      "     |      into grand prize and second place winners (the subslices).\n",
      "     |      \n",
      "     |      Members of the population need not be hashable or unique.  If the\n",
      "     |      population contains repeats, then each occurrence is a possible\n",
      "     |      selection in the sample.\n",
      "     |      \n",
      "     |      Repeated elements can be specified one at a time or with the optional\n",
      "     |      counts parameter.  For example:\n",
      "     |      \n",
      "     |          sample(['red', 'blue'], counts=[4, 2], k=5)\n",
      "     |      \n",
      "     |      is equivalent to:\n",
      "     |      \n",
      "     |          sample(['red', 'red', 'red', 'red', 'blue', 'blue'], k=5)\n",
      "     |      \n",
      "     |      To choose a sample from a range of integers, use range() for the\n",
      "     |      population argument.  This is especially fast and space efficient\n",
      "     |      for sampling from a large population:\n",
      "     |      \n",
      "     |          sample(range(10000000), 60)\n",
      "     |  \n",
      "     |  seed(self, a=None, version=2)\n",
      "     |      Initialize internal state from a seed.\n",
      "     |      \n",
      "     |      The only supported seed types are None, int, float,\n",
      "     |      str, bytes, and bytearray.\n",
      "     |      \n",
      "     |      None or no argument seeds from current time or from an operating\n",
      "     |      system specific randomness source if available.\n",
      "     |      \n",
      "     |      If *a* is an int, all bits are used.\n",
      "     |      \n",
      "     |      For version 2 (the default), all of the bits are used if *a* is a str,\n",
      "     |      bytes, or bytearray.  For version 1 (provided for reproducing random\n",
      "     |      sequences from older versions of Python), the algorithm for str and\n",
      "     |      bytes generates a narrower range of seeds.\n",
      "     |  \n",
      "     |  setstate(self, state)\n",
      "     |      Restore internal state from object returned by getstate().\n",
      "     |  \n",
      "     |  shuffle(self, x, random=None)\n",
      "     |      Shuffle list x in place, and return None.\n",
      "     |      \n",
      "     |      Optional argument random is a 0-argument function returning a\n",
      "     |      random float in [0.0, 1.0); if it is the default None, the\n",
      "     |      standard random.random will be used.\n",
      "     |  \n",
      "     |  triangular(self, low=0.0, high=1.0, mode=None)\n",
      "     |      Triangular distribution.\n",
      "     |      \n",
      "     |      Continuous distribution bounded by given lower and upper limits,\n",
      "     |      and having a given mode value in-between.\n",
      "     |      \n",
      "     |      http://en.wikipedia.org/wiki/Triangular_distribution\n",
      "     |  \n",
      "     |  uniform(self, a, b)\n",
      "     |      Get a random number in the range [a, b) or [a, b] depending on rounding.\n",
      "     |  \n",
      "     |  vonmisesvariate(self, mu, kappa)\n",
      "     |      Circular data distribution.\n",
      "     |      \n",
      "     |      mu is the mean angle, expressed in radians between 0 and 2*pi, and\n",
      "     |      kappa is the concentration parameter, which must be greater than or\n",
      "     |      equal to zero.  If kappa is equal to zero, this distribution reduces\n",
      "     |      to a uniform random angle over the range 0 to 2*pi.\n",
      "     |  \n",
      "     |  weibullvariate(self, alpha, beta)\n",
      "     |      Weibull distribution.\n",
      "     |      \n",
      "     |      alpha is the scale parameter and beta is the shape parameter.\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Class methods defined here:\n",
      "     |  \n",
      "     |  __init_subclass__(**kwargs) from builtins.type\n",
      "     |      Control how subclasses generate random integers.\n",
      "     |      \n",
      "     |      The algorithm a subclass can use depends on the random() and/or\n",
      "     |      getrandbits() implementation available to it and determines\n",
      "     |      whether it can generate random integers from arbitrarily large\n",
      "     |      ranges.\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Data descriptors defined here:\n",
      "     |  \n",
      "     |  __dict__\n",
      "     |      dictionary for instance variables (if defined)\n",
      "     |  \n",
      "     |  __weakref__\n",
      "     |      list of weak references to the object (if defined)\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Data and other attributes defined here:\n",
      "     |  \n",
      "     |  VERSION = 3\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Methods inherited from _random.Random:\n",
      "     |  \n",
      "     |  getrandbits(self, k, /)\n",
      "     |      getrandbits(k) -> x.  Generates an int with k random bits.\n",
      "     |  \n",
      "     |  random(self, /)\n",
      "     |      random() -> x in the interval [0, 1).\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Static methods inherited from _random.Random:\n",
      "     |  \n",
      "     |  __new__(*args, **kwargs) from builtins.type\n",
      "     |      Create and return a new object.  See help(type) for accurate signature.\n",
      "    \n",
      "    class SystemRandom(Random)\n",
      "     |  SystemRandom(x=None)\n",
      "     |  \n",
      "     |  Alternate random number generator using sources provided\n",
      "     |  by the operating system (such as /dev/urandom on Unix or\n",
      "     |  CryptGenRandom on Windows).\n",
      "     |  \n",
      "     |   Not available on all systems (see os.urandom() for details).\n",
      "     |  \n",
      "     |  Method resolution order:\n",
      "     |      SystemRandom\n",
      "     |      Random\n",
      "     |      _random.Random\n",
      "     |      builtins.object\n",
      "     |  \n",
      "     |  Methods defined here:\n",
      "     |  \n",
      "     |  getrandbits(self, k)\n",
      "     |      getrandbits(k) -> x.  Generates an int with k random bits.\n",
      "     |  \n",
      "     |  getstate = _notimplemented(self, *args, **kwds)\n",
      "     |  \n",
      "     |  randbytes(self, n)\n",
      "     |      Generate n random bytes.\n",
      "     |  \n",
      "     |  random(self)\n",
      "     |      Get the next random number in the range [0.0, 1.0).\n",
      "     |  \n",
      "     |  seed(self, *args, **kwds)\n",
      "     |      Stub method.  Not used for a system random number generator.\n",
      "     |  \n",
      "     |  setstate = _notimplemented(self, *args, **kwds)\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Methods inherited from Random:\n",
      "     |  \n",
      "     |  __getstate__(self)\n",
      "     |      # Issue 17489: Since __reduce__ was defined to fix #759889 this is no\n",
      "     |      # longer called; we leave it here because it has been here since random was\n",
      "     |      # rewritten back in 2001 and why risk breaking something.\n",
      "     |  \n",
      "     |  __init__(self, x=None)\n",
      "     |      Initialize an instance.\n",
      "     |      \n",
      "     |      Optional argument x controls seeding, as for Random.seed().\n",
      "     |  \n",
      "     |  __reduce__(self)\n",
      "     |      Helper for pickle.\n",
      "     |  \n",
      "     |  __setstate__(self, state)\n",
      "     |  \n",
      "     |  betavariate(self, alpha, beta)\n",
      "     |      Beta distribution.\n",
      "     |      \n",
      "     |      Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "     |      Returned values range between 0 and 1.\n",
      "     |  \n",
      "     |  choice(self, seq)\n",
      "     |      Choose a random element from a non-empty sequence.\n",
      "     |  \n",
      "     |  choices(self, population, weights=None, *, cum_weights=None, k=1)\n",
      "     |      Return a k sized list of population elements chosen with replacement.\n",
      "     |      \n",
      "     |      If the relative weights or cumulative weights are not specified,\n",
      "     |      the selections are made with equal probability.\n",
      "     |  \n",
      "     |  expovariate(self, lambd)\n",
      "     |      Exponential distribution.\n",
      "     |      \n",
      "     |      lambd is 1.0 divided by the desired mean.  It should be\n",
      "     |      nonzero.  (The parameter would be called \"lambda\", but that is\n",
      "     |      a reserved word in Python.)  Returned values range from 0 to\n",
      "     |      positive infinity if lambd is positive, and from negative\n",
      "     |      infinity to 0 if lambd is negative.\n",
      "     |  \n",
      "     |  gammavariate(self, alpha, beta)\n",
      "     |      Gamma distribution.  Not the gamma function!\n",
      "     |      \n",
      "     |      Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "     |      \n",
      "     |      The probability distribution function is:\n",
      "     |      \n",
      "     |                  x ** (alpha - 1) * math.exp(-x / beta)\n",
      "     |        pdf(x) =  --------------------------------------\n",
      "     |                    math.gamma(alpha) * beta ** alpha\n",
      "     |  \n",
      "     |  gauss(self, mu, sigma)\n",
      "     |      Gaussian distribution.\n",
      "     |      \n",
      "     |      mu is the mean, and sigma is the standard deviation.  This is\n",
      "     |      slightly faster than the normalvariate() function.\n",
      "     |      \n",
      "     |      Not thread-safe without a lock around calls.\n",
      "     |  \n",
      "     |  lognormvariate(self, mu, sigma)\n",
      "     |      Log normal distribution.\n",
      "     |      \n",
      "     |      If you take the natural logarithm of this distribution, you'll get a\n",
      "     |      normal distribution with mean mu and standard deviation sigma.\n",
      "     |      mu can have any value, and sigma must be greater than zero.\n",
      "     |  \n",
      "     |  normalvariate(self, mu, sigma)\n",
      "     |      Normal distribution.\n",
      "     |      \n",
      "     |      mu is the mean, and sigma is the standard deviation.\n",
      "     |  \n",
      "     |  paretovariate(self, alpha)\n",
      "     |      Pareto distribution.  alpha is the shape parameter.\n",
      "     |  \n",
      "     |  randint(self, a, b)\n",
      "     |      Return random integer in range [a, b], including both end points.\n",
      "     |  \n",
      "     |  randrange(self, start, stop=None, step=1)\n",
      "     |      Choose a random item from range(start, stop[, step]).\n",
      "     |      \n",
      "     |      This fixes the problem with randint() which includes the\n",
      "     |      endpoint; in Python this is usually not what you want.\n",
      "     |  \n",
      "     |  sample(self, population, k, *, counts=None)\n",
      "     |      Chooses k unique random elements from a population sequence or set.\n",
      "     |      \n",
      "     |      Returns a new list containing elements from the population while\n",
      "     |      leaving the original population unchanged.  The resulting list is\n",
      "     |      in selection order so that all sub-slices will also be valid random\n",
      "     |      samples.  This allows raffle winners (the sample) to be partitioned\n",
      "     |      into grand prize and second place winners (the subslices).\n",
      "     |      \n",
      "     |      Members of the population need not be hashable or unique.  If the\n",
      "     |      population contains repeats, then each occurrence is a possible\n",
      "     |      selection in the sample.\n",
      "     |      \n",
      "     |      Repeated elements can be specified one at a time or with the optional\n",
      "     |      counts parameter.  For example:\n",
      "     |      \n",
      "     |          sample(['red', 'blue'], counts=[4, 2], k=5)\n",
      "     |      \n",
      "     |      is equivalent to:\n",
      "     |      \n",
      "     |          sample(['red', 'red', 'red', 'red', 'blue', 'blue'], k=5)\n",
      "     |      \n",
      "     |      To choose a sample from a range of integers, use range() for the\n",
      "     |      population argument.  This is especially fast and space efficient\n",
      "     |      for sampling from a large population:\n",
      "     |      \n",
      "     |          sample(range(10000000), 60)\n",
      "     |  \n",
      "     |  shuffle(self, x, random=None)\n",
      "     |      Shuffle list x in place, and return None.\n",
      "     |      \n",
      "     |      Optional argument random is a 0-argument function returning a\n",
      "     |      random float in [0.0, 1.0); if it is the default None, the\n",
      "     |      standard random.random will be used.\n",
      "     |  \n",
      "     |  triangular(self, low=0.0, high=1.0, mode=None)\n",
      "     |      Triangular distribution.\n",
      "     |      \n",
      "     |      Continuous distribution bounded by given lower and upper limits,\n",
      "     |      and having a given mode value in-between.\n",
      "     |      \n",
      "     |      http://en.wikipedia.org/wiki/Triangular_distribution\n",
      "     |  \n",
      "     |  uniform(self, a, b)\n",
      "     |      Get a random number in the range [a, b) or [a, b] depending on rounding.\n",
      "     |  \n",
      "     |  vonmisesvariate(self, mu, kappa)\n",
      "     |      Circular data distribution.\n",
      "     |      \n",
      "     |      mu is the mean angle, expressed in radians between 0 and 2*pi, and\n",
      "     |      kappa is the concentration parameter, which must be greater than or\n",
      "     |      equal to zero.  If kappa is equal to zero, this distribution reduces\n",
      "     |      to a uniform random angle over the range 0 to 2*pi.\n",
      "     |  \n",
      "     |  weibullvariate(self, alpha, beta)\n",
      "     |      Weibull distribution.\n",
      "     |      \n",
      "     |      alpha is the scale parameter and beta is the shape parameter.\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Class methods inherited from Random:\n",
      "     |  \n",
      "     |  __init_subclass__(**kwargs) from builtins.type\n",
      "     |      Control how subclasses generate random integers.\n",
      "     |      \n",
      "     |      The algorithm a subclass can use depends on the random() and/or\n",
      "     |      getrandbits() implementation available to it and determines\n",
      "     |      whether it can generate random integers from arbitrarily large\n",
      "     |      ranges.\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Data descriptors inherited from Random:\n",
      "     |  \n",
      "     |  __dict__\n",
      "     |      dictionary for instance variables (if defined)\n",
      "     |  \n",
      "     |  __weakref__\n",
      "     |      list of weak references to the object (if defined)\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Data and other attributes inherited from Random:\n",
      "     |  \n",
      "     |  VERSION = 3\n",
      "     |  \n",
      "     |  ----------------------------------------------------------------------\n",
      "     |  Static methods inherited from _random.Random:\n",
      "     |  \n",
      "     |  __new__(*args, **kwargs) from builtins.type\n",
      "     |      Create and return a new object.  See help(type) for accurate signature.\n",
      "\n",
      "FUNCTIONS\n",
      "    betavariate(alpha, beta) method of Random instance\n",
      "        Beta distribution.\n",
      "        \n",
      "        Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "        Returned values range between 0 and 1.\n",
      "    \n",
      "    choice(seq) method of Random instance\n",
      "        Choose a random element from a non-empty sequence.\n",
      "    \n",
      "    choices(population, weights=None, *, cum_weights=None, k=1) method of Random instance\n",
      "        Return a k sized list of population elements chosen with replacement.\n",
      "        \n",
      "        If the relative weights or cumulative weights are not specified,\n",
      "        the selections are made with equal probability.\n",
      "    \n",
      "    expovariate(lambd) method of Random instance\n",
      "        Exponential distribution.\n",
      "        \n",
      "        lambd is 1.0 divided by the desired mean.  It should be\n",
      "        nonzero.  (The parameter would be called \"lambda\", but that is\n",
      "        a reserved word in Python.)  Returned values range from 0 to\n",
      "        positive infinity if lambd is positive, and from negative\n",
      "        infinity to 0 if lambd is negative.\n",
      "    \n",
      "    gammavariate(alpha, beta) method of Random instance\n",
      "        Gamma distribution.  Not the gamma function!\n",
      "        \n",
      "        Conditions on the parameters are alpha > 0 and beta > 0.\n",
      "        \n",
      "        The probability distribution function is:\n",
      "        \n",
      "                    x ** (alpha - 1) * math.exp(-x / beta)\n",
      "          pdf(x) =  --------------------------------------\n",
      "                      math.gamma(alpha) * beta ** alpha\n",
      "    \n",
      "    gauss(mu, sigma) method of Random instance\n",
      "        Gaussian distribution.\n",
      "        \n",
      "        mu is the mean, and sigma is the standard deviation.  This is\n",
      "        slightly faster than the normalvariate() function.\n",
      "        \n",
      "        Not thread-safe without a lock around calls.\n",
      "    \n",
      "    getrandbits(k, /) method of Random instance\n",
      "        getrandbits(k) -> x.  Generates an int with k random bits.\n",
      "    \n",
      "    getstate() method of Random instance\n",
      "        Return internal state; can be passed to setstate() later.\n",
      "    \n",
      "    lognormvariate(mu, sigma) method of Random instance\n",
      "        Log normal distribution.\n",
      "        \n",
      "        If you take the natural logarithm of this distribution, you'll get a\n",
      "        normal distribution with mean mu and standard deviation sigma.\n",
      "        mu can have any value, and sigma must be greater than zero.\n",
      "    \n",
      "    normalvariate(mu, sigma) method of Random instance\n",
      "        Normal distribution.\n",
      "        \n",
      "        mu is the mean, and sigma is the standard deviation.\n",
      "    \n",
      "    paretovariate(alpha) method of Random instance\n",
      "        Pareto distribution.  alpha is the shape parameter.\n",
      "    \n",
      "    randbytes(n) method of Random instance\n",
      "        Generate n random bytes.\n",
      "    \n",
      "    randint(a, b) method of Random instance\n",
      "        Return random integer in range [a, b], including both end points.\n",
      "    \n",
      "    random() method of Random instance\n",
      "        random() -> x in the interval [0, 1).\n",
      "    \n",
      "    randrange(start, stop=None, step=1) method of Random instance\n",
      "        Choose a random item from range(start, stop[, step]).\n",
      "        \n",
      "        This fixes the problem with randint() which includes the\n",
      "        endpoint; in Python this is usually not what you want.\n",
      "    \n",
      "    sample(population, k, *, counts=None) method of Random instance\n",
      "        Chooses k unique random elements from a population sequence or set.\n",
      "        \n",
      "        Returns a new list containing elements from the population while\n",
      "        leaving the original population unchanged.  The resulting list is\n",
      "        in selection order so that all sub-slices will also be valid random\n",
      "        samples.  This allows raffle winners (the sample) to be partitioned\n",
      "        into grand prize and second place winners (the subslices).\n",
      "        \n",
      "        Members of the population need not be hashable or unique.  If the\n",
      "        population contains repeats, then each occurrence is a possible\n",
      "        selection in the sample.\n",
      "        \n",
      "        Repeated elements can be specified one at a time or with the optional\n",
      "        counts parameter.  For example:\n",
      "        \n",
      "            sample(['red', 'blue'], counts=[4, 2], k=5)\n",
      "        \n",
      "        is equivalent to:\n",
      "        \n",
      "            sample(['red', 'red', 'red', 'red', 'blue', 'blue'], k=5)\n",
      "        \n",
      "        To choose a sample from a range of integers, use range() for the\n",
      "        population argument.  This is especially fast and space efficient\n",
      "        for sampling from a large population:\n",
      "        \n",
      "            sample(range(10000000), 60)\n",
      "    \n",
      "    seed(a=None, version=2) method of Random instance\n",
      "        Initialize internal state from a seed.\n",
      "        \n",
      "        The only supported seed types are None, int, float,\n",
      "        str, bytes, and bytearray.\n",
      "        \n",
      "        None or no argument seeds from current time or from an operating\n",
      "        system specific randomness source if available.\n",
      "        \n",
      "        If *a* is an int, all bits are used.\n",
      "        \n",
      "        For version 2 (the default), all of the bits are used if *a* is a str,\n",
      "        bytes, or bytearray.  For version 1 (provided for reproducing random\n",
      "        sequences from older versions of Python), the algorithm for str and\n",
      "        bytes generates a narrower range of seeds.\n",
      "    \n",
      "    setstate(state) method of Random instance\n",
      "        Restore internal state from object returned by getstate().\n",
      "    \n",
      "    shuffle(x, random=None) method of Random instance\n",
      "        Shuffle list x in place, and return None.\n",
      "        \n",
      "        Optional argument random is a 0-argument function returning a\n",
      "        random float in [0.0, 1.0); if it is the default None, the\n",
      "        standard random.random will be used.\n",
      "    \n",
      "    triangular(low=0.0, high=1.0, mode=None) method of Random instance\n",
      "        Triangular distribution.\n",
      "        \n",
      "        Continuous distribution bounded by given lower and upper limits,\n",
      "        and having a given mode value in-between.\n",
      "        \n",
      "        http://en.wikipedia.org/wiki/Triangular_distribution\n",
      "    \n",
      "    uniform(a, b) method of Random instance\n",
      "        Get a random number in the range [a, b) or [a, b] depending on rounding.\n",
      "    \n",
      "    vonmisesvariate(mu, kappa) method of Random instance\n",
      "        Circular data distribution.\n",
      "        \n",
      "        mu is the mean angle, expressed in radians between 0 and 2*pi, and\n",
      "        kappa is the concentration parameter, which must be greater than or\n",
      "        equal to zero.  If kappa is equal to zero, this distribution reduces\n",
      "        to a uniform random angle over the range 0 to 2*pi.\n",
      "    \n",
      "    weibullvariate(alpha, beta) method of Random instance\n",
      "        Weibull distribution.\n",
      "        \n",
      "        alpha is the scale parameter and beta is the shape parameter.\n",
      "\n",
      "DATA\n",
      "    __all__ = ['Random', 'SystemRandom', 'betavariate', 'choice', 'choices...\n",
      "\n",
      "FILE\n",
      "    c:\\anaconda\\lib\\random.py\n",
      "\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help(random)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "id": "1caa1e4a",
   "metadata": {},
   "outputs": [],
   "source": [
    "import time"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "21c3609d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello word\n"
     ]
    }
   ],
   "source": [
    "# 睡眠时间，就是可以设定在几秒后显示出print内容\n",
    "time.sleep(3)\n",
    "print(\"hello word\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "9a14b155",
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'random' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "Input \u001b[1;32mIn [4]\u001b[0m, in \u001b[0;36m<cell line: 1>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[43mrandom\u001b[49m\u001b[38;5;241m.\u001b[39mrandint(\u001b[38;5;241m10\u001b[39m,\u001b[38;5;241m60\u001b[39m)\n",
      "\u001b[1;31mNameError\u001b[0m: name 'random' is not defined"
     ]
    }
   ],
   "source": [
    "random.randint(10,60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "id": "0747c6b2",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3\n",
      "现在是秒/时间为奇数\n",
      "3\n",
      "现在是秒/时间为奇数\n",
      "3\n",
      "现在是秒/时间为奇数\n"
     ]
    }
   ],
   "source": [
    "import datetime\n",
    "odds = [   1, 3,  5,  7,  9, 11,13,15,17,19,\n",
    "              21,23,25,27,29,31,33,35,37,39,\n",
    "              41,43,45,47,49,51,53,55,57,59]\n",
    "\n",
    "right_this_minute = datetime.datetime.today().second\n",
    "\n",
    "for i in range(3):\n",
    "    if right_this_minute in odds:\n",
    "        print(right_this_minute)\n",
    "        print(\"现在是秒/时间为奇数\")\n",
    "    else:\n",
    "        print(right_this_minute)\n",
    "        print(\"现在秒/时间为偶数\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "id": "38cdfa88",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "99 bottles of beer om the wall.\n",
      "99 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "98 bottles of beer on the wall.\n",
      "\n",
      "98 bottles of beer om the wall.\n",
      "98 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "97 bottles of beer on the wall.\n",
      "\n",
      "97 bottles of beer om the wall.\n",
      "97 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "96 bottles of beer on the wall.\n",
      "\n",
      "96 bottles of beer om the wall.\n",
      "96 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "95 bottles of beer on the wall.\n",
      "\n",
      "95 bottles of beer om the wall.\n",
      "95 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "94 bottles of beer on the wall.\n",
      "\n",
      "94 bottles of beer om the wall.\n",
      "94 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "93 bottles of beer on the wall.\n",
      "\n",
      "93 bottles of beer om the wall.\n",
      "93 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "92 bottles of beer on the wall.\n",
      "\n",
      "92 bottles of beer om the wall.\n",
      "92 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "91 bottles of beer on the wall.\n",
      "\n",
      "91 bottles of beer om the wall.\n",
      "91 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "90 bottles of beer on the wall.\n",
      "\n",
      "90 bottles of beer om the wall.\n",
      "90 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "89 bottles of beer on the wall.\n",
      "\n",
      "89 bottles of beer om the wall.\n",
      "89 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "88 bottles of beer on the wall.\n",
      "\n",
      "88 bottles of beer om the wall.\n",
      "88 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "87 bottles of beer on the wall.\n",
      "\n",
      "87 bottles of beer om the wall.\n",
      "87 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "86 bottles of beer on the wall.\n",
      "\n",
      "86 bottles of beer om the wall.\n",
      "86 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "85 bottles of beer on the wall.\n",
      "\n",
      "85 bottles of beer om the wall.\n",
      "85 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "84 bottles of beer on the wall.\n",
      "\n",
      "84 bottles of beer om the wall.\n",
      "84 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "83 bottles of beer on the wall.\n",
      "\n",
      "83 bottles of beer om the wall.\n",
      "83 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "82 bottles of beer on the wall.\n",
      "\n",
      "82 bottles of beer om the wall.\n",
      "82 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "81 bottles of beer on the wall.\n",
      "\n",
      "81 bottles of beer om the wall.\n",
      "81 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "80 bottles of beer on the wall.\n",
      "\n",
      "80 bottles of beer om the wall.\n",
      "80 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "79 bottles of beer on the wall.\n",
      "\n",
      "79 bottles of beer om the wall.\n",
      "79 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "78 bottles of beer on the wall.\n",
      "\n",
      "78 bottles of beer om the wall.\n",
      "78 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "77 bottles of beer on the wall.\n",
      "\n",
      "77 bottles of beer om the wall.\n",
      "77 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "76 bottles of beer on the wall.\n",
      "\n",
      "76 bottles of beer om the wall.\n",
      "76 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "75 bottles of beer on the wall.\n",
      "\n",
      "75 bottles of beer om the wall.\n",
      "75 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "74 bottles of beer on the wall.\n",
      "\n",
      "74 bottles of beer om the wall.\n",
      "74 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "73 bottles of beer on the wall.\n",
      "\n",
      "73 bottles of beer om the wall.\n",
      "73 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "72 bottles of beer on the wall.\n",
      "\n",
      "72 bottles of beer om the wall.\n",
      "72 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "71 bottles of beer on the wall.\n",
      "\n",
      "71 bottles of beer om the wall.\n",
      "71 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "70 bottles of beer on the wall.\n",
      "\n",
      "70 bottles of beer om the wall.\n",
      "70 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "69 bottles of beer on the wall.\n",
      "\n",
      "69 bottles of beer om the wall.\n",
      "69 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "68 bottles of beer on the wall.\n",
      "\n",
      "68 bottles of beer om the wall.\n",
      "68 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "67 bottles of beer on the wall.\n",
      "\n",
      "67 bottles of beer om the wall.\n",
      "67 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "66 bottles of beer on the wall.\n",
      "\n",
      "66 bottles of beer om the wall.\n",
      "66 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "65 bottles of beer on the wall.\n",
      "\n",
      "65 bottles of beer om the wall.\n",
      "65 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "64 bottles of beer on the wall.\n",
      "\n",
      "64 bottles of beer om the wall.\n",
      "64 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "63 bottles of beer on the wall.\n",
      "\n",
      "63 bottles of beer om the wall.\n",
      "63 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "62 bottles of beer on the wall.\n",
      "\n",
      "62 bottles of beer om the wall.\n",
      "62 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "61 bottles of beer on the wall.\n",
      "\n",
      "61 bottles of beer om the wall.\n",
      "61 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "60 bottles of beer on the wall.\n",
      "\n",
      "60 bottles of beer om the wall.\n",
      "60 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "59 bottles of beer on the wall.\n",
      "\n",
      "59 bottles of beer om the wall.\n",
      "59 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "58 bottles of beer on the wall.\n",
      "\n",
      "58 bottles of beer om the wall.\n",
      "58 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "57 bottles of beer on the wall.\n",
      "\n",
      "57 bottles of beer om the wall.\n",
      "57 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "56 bottles of beer on the wall.\n",
      "\n",
      "56 bottles of beer om the wall.\n",
      "56 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "55 bottles of beer on the wall.\n",
      "\n",
      "55 bottles of beer om the wall.\n",
      "55 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "54 bottles of beer on the wall.\n",
      "\n",
      "54 bottles of beer om the wall.\n",
      "54 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "53 bottles of beer on the wall.\n",
      "\n",
      "53 bottles of beer om the wall.\n",
      "53 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "52 bottles of beer on the wall.\n",
      "\n",
      "52 bottles of beer om the wall.\n",
      "52 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "51 bottles of beer on the wall.\n",
      "\n",
      "51 bottles of beer om the wall.\n",
      "51 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "50 bottles of beer on the wall.\n",
      "\n",
      "50 bottles of beer om the wall.\n",
      "50 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "49 bottles of beer on the wall.\n",
      "\n",
      "49 bottles of beer om the wall.\n",
      "49 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "48 bottles of beer on the wall.\n",
      "\n",
      "48 bottles of beer om the wall.\n",
      "48 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "47 bottles of beer on the wall.\n",
      "\n",
      "47 bottles of beer om the wall.\n",
      "47 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "46 bottles of beer on the wall.\n",
      "\n",
      "46 bottles of beer om the wall.\n",
      "46 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "45 bottles of beer on the wall.\n",
      "\n",
      "45 bottles of beer om the wall.\n",
      "45 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "44 bottles of beer on the wall.\n",
      "\n",
      "44 bottles of beer om the wall.\n",
      "44 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "43 bottles of beer on the wall.\n",
      "\n",
      "43 bottles of beer om the wall.\n",
      "43 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "42 bottles of beer on the wall.\n",
      "\n",
      "42 bottles of beer om the wall.\n",
      "42 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "41 bottles of beer on the wall.\n",
      "\n",
      "41 bottles of beer om the wall.\n",
      "41 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "40 bottles of beer on the wall.\n",
      "\n",
      "40 bottles of beer om the wall.\n",
      "40 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "39 bottles of beer on the wall.\n",
      "\n",
      "39 bottles of beer om the wall.\n",
      "39 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "38 bottles of beer on the wall.\n",
      "\n",
      "38 bottles of beer om the wall.\n",
      "38 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "37 bottles of beer on the wall.\n",
      "\n",
      "37 bottles of beer om the wall.\n",
      "37 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "36 bottles of beer on the wall.\n",
      "\n",
      "36 bottles of beer om the wall.\n",
      "36 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "35 bottles of beer on the wall.\n",
      "\n",
      "35 bottles of beer om the wall.\n",
      "35 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "34 bottles of beer on the wall.\n",
      "\n",
      "34 bottles of beer om the wall.\n",
      "34 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "33 bottles of beer on the wall.\n",
      "\n",
      "33 bottles of beer om the wall.\n",
      "33 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "32 bottles of beer on the wall.\n",
      "\n",
      "32 bottles of beer om the wall.\n",
      "32 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "31 bottles of beer on the wall.\n",
      "\n",
      "31 bottles of beer om the wall.\n",
      "31 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "30 bottles of beer on the wall.\n",
      "\n",
      "30 bottles of beer om the wall.\n",
      "30 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "29 bottles of beer on the wall.\n",
      "\n",
      "29 bottles of beer om the wall.\n",
      "29 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "28 bottles of beer on the wall.\n",
      "\n",
      "28 bottles of beer om the wall.\n",
      "28 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "27 bottles of beer on the wall.\n",
      "\n",
      "27 bottles of beer om the wall.\n",
      "27 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "26 bottles of beer on the wall.\n",
      "\n",
      "26 bottles of beer om the wall.\n",
      "26 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "25 bottles of beer on the wall.\n",
      "\n",
      "25 bottles of beer om the wall.\n",
      "25 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "24 bottles of beer on the wall.\n",
      "\n",
      "24 bottles of beer om the wall.\n",
      "24 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "23 bottles of beer on the wall.\n",
      "\n",
      "23 bottles of beer om the wall.\n",
      "23 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "22 bottles of beer on the wall.\n",
      "\n",
      "22 bottles of beer om the wall.\n",
      "22 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "21 bottles of beer on the wall.\n",
      "\n",
      "21 bottles of beer om the wall.\n",
      "21 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "20 bottles of beer on the wall.\n",
      "\n",
      "20 bottles of beer om the wall.\n",
      "20 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "19 bottles of beer on the wall.\n",
      "\n",
      "19 bottles of beer om the wall.\n",
      "19 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "18 bottles of beer on the wall.\n",
      "\n",
      "18 bottles of beer om the wall.\n",
      "18 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "17 bottles of beer on the wall.\n",
      "\n",
      "17 bottles of beer om the wall.\n",
      "17 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "16 bottles of beer on the wall.\n",
      "\n",
      "16 bottles of beer om the wall.\n",
      "16 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "15 bottles of beer on the wall.\n",
      "\n",
      "15 bottles of beer om the wall.\n",
      "15 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "14 bottles of beer on the wall.\n",
      "\n",
      "14 bottles of beer om the wall.\n",
      "14 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "13 bottles of beer on the wall.\n",
      "\n",
      "13 bottles of beer om the wall.\n",
      "13 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "12 bottles of beer on the wall.\n",
      "\n",
      "12 bottles of beer om the wall.\n",
      "12 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "11 bottles of beer on the wall.\n",
      "\n",
      "11 bottles of beer om the wall.\n",
      "11 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "10 bottles of beer on the wall.\n",
      "\n",
      "10 bottles of beer om the wall.\n",
      "10 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "9 bottles of beer on the wall.\n",
      "\n",
      "9 bottles of beer om the wall.\n",
      "9 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "8 bottles of beer on the wall.\n",
      "\n",
      "8 bottles of beer om the wall.\n",
      "8 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "7 bottles of beer on the wall.\n",
      "\n",
      "7 bottles of beer om the wall.\n",
      "7 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "6 bottles of beer on the wall.\n",
      "\n",
      "6 bottles of beer om the wall.\n",
      "6 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "5 bottles of beer on the wall.\n",
      "\n",
      "5 bottles of beer om the wall.\n",
      "5 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "4 bottles of beer on the wall.\n",
      "\n",
      "4 bottles of beer om the wall.\n",
      "4 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "3 bottles of beer on the wall.\n",
      "\n",
      "3 bottles of beer om the wall.\n",
      "3 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "2 bottles of beer on the wall.\n",
      "\n",
      "2 bottles of beer om the wall.\n",
      "2 bottles of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "1 bottle of beer on the wall.\n",
      "\n",
      "1 bottle of beer om the wall.\n",
      "1 bottle of beer.\n",
      "Take one down.\n",
      "Pass it around.\n",
      "0 bottle of beer on the wall.\n",
      "\n"
     ]
    }
   ],
   "source": [
    "word = \"bottles\"\n",
    "for bear_num in range(99,0,-1):\n",
    "    print(bear_num, word, \"of beer om the wall.\")\n",
    "    print(bear_num, word, \"of beer.\")\n",
    "    print(\"Take one down.\")\n",
    "    print(\"Pass it around.\")\n",
    "    if bear_num == - 1:\n",
    "        print(\"No more bottles of beer on the wall.\")\n",
    "    else:\n",
    "        new_num = bear_num - 1\n",
    "        if new_num == 1:\n",
    "            word = \"bottle\"\n",
    "        print(new_num, word, \"of beer on the wall.\")\n",
    "    print()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 83,
   "id": "a2ad86f0",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "99 bottles 在啤酒墙上\n",
      "99 bottles 啤酒\n",
      "99 bottles 八戒八戒\n",
      "99 bottles 心肠不坏\n",
      "99 bottles 八戒八戒\n",
      "99 bottles 傻的可爱\n",
      "99 bottles 肥头大耳多\n",
      "99 bottles 只会只会\n",
      "99 bottles 摔跤学乖\n",
      "99 bottles 八戒活的真自在\n",
      "99 bottles 弄巧成拙\n",
      "99 bottles 八戒活的真自在\n",
      "99 bottles 八戒八戒\n",
      "99 bottles 心肠不坏\n",
      "99 bottles 八戒八戒\n",
      "99 bottles 傻的可爱\n",
      "99 bottles 八戒活的真自在\n",
      "98 bottles 在啤酒墙上\n",
      "98 bottles 啤酒\n",
      "98 bottles 八戒八戒\n",
      "98 bottles 心肠不坏\n",
      "98 bottles 八戒八戒\n",
      "98 bottles 傻的可爱\n",
      "98 bottles 肥头大耳多\n",
      "98 bottles 只会只会\n",
      "98 bottles 摔跤学乖\n",
      "98 bottles 八戒活的真自在\n",
      "98 bottles 弄巧成拙\n",
      "98 bottles 八戒活的真自在\n",
      "98 bottles 八戒八戒\n",
      "98 bottles 心肠不坏\n",
      "98 bottles 八戒八戒\n",
      "98 bottles 傻的可爱\n",
      "98 bottles 八戒活的真自在\n",
      "97 bottles 在啤酒墙上\n",
      "97 bottles 啤酒\n",
      "97 bottles 八戒八戒\n",
      "97 bottles 心肠不坏\n",
      "97 bottles 八戒八戒\n",
      "97 bottles 傻的可爱\n",
      "97 bottles 肥头大耳多\n",
      "97 bottles 只会只会\n",
      "97 bottles 摔跤学乖\n",
      "97 bottles 八戒活的真自在\n",
      "97 bottles 弄巧成拙\n",
      "97 bottles 八戒活的真自在\n",
      "97 bottles 八戒八戒\n",
      "97 bottles 心肠不坏\n",
      "97 bottles 八戒八戒\n",
      "97 bottles 傻的可爱\n",
      "97 bottles 八戒活的真自在\n",
      "96 bottles 在啤酒墙上\n",
      "96 bottles 啤酒\n",
      "96 bottles 八戒八戒\n",
      "96 bottles 心肠不坏\n",
      "96 bottles 八戒八戒\n",
      "96 bottles 傻的可爱\n",
      "96 bottles 肥头大耳多\n",
      "96 bottles 只会只会\n",
      "96 bottles 摔跤学乖\n",
      "96 bottles 八戒活的真自在\n",
      "96 bottles 弄巧成拙\n",
      "96 bottles 八戒活的真自在\n",
      "96 bottles 八戒八戒\n",
      "96 bottles 心肠不坏\n",
      "96 bottles 八戒八戒\n",
      "96 bottles 傻的可爱\n",
      "96 bottles 八戒活的真自在\n",
      "95 bottles 在啤酒墙上\n",
      "95 bottles 啤酒\n",
      "95 bottles 八戒八戒\n",
      "95 bottles 心肠不坏\n",
      "95 bottles 八戒八戒\n",
      "95 bottles 傻的可爱\n",
      "95 bottles 肥头大耳多\n",
      "95 bottles 只会只会\n",
      "95 bottles 摔跤学乖\n",
      "95 bottles 八戒活的真自在\n",
      "95 bottles 弄巧成拙\n",
      "95 bottles 八戒活的真自在\n",
      "95 bottles 八戒八戒\n",
      "95 bottles 心肠不坏\n",
      "95 bottles 八戒八戒\n",
      "95 bottles 傻的可爱\n",
      "95 bottles 八戒活的真自在\n",
      "94 bottles 在啤酒墙上\n",
      "94 bottles 啤酒\n",
      "94 bottles 八戒八戒\n",
      "94 bottles 心肠不坏\n",
      "94 bottles 八戒八戒\n",
      "94 bottles 傻的可爱\n",
      "94 bottles 肥头大耳多\n",
      "94 bottles 只会只会\n",
      "94 bottles 摔跤学乖\n",
      "94 bottles 八戒活的真自在\n",
      "94 bottles 弄巧成拙\n",
      "94 bottles 八戒活的真自在\n",
      "94 bottles 八戒八戒\n",
      "94 bottles 心肠不坏\n",
      "94 bottles 八戒八戒\n",
      "94 bottles 傻的可爱\n",
      "94 bottles 八戒活的真自在\n",
      "93 bottles 在啤酒墙上\n",
      "93 bottles 啤酒\n",
      "93 bottles 八戒八戒\n",
      "93 bottles 心肠不坏\n",
      "93 bottles 八戒八戒\n",
      "93 bottles 傻的可爱\n",
      "93 bottles 肥头大耳多\n",
      "93 bottles 只会只会\n",
      "93 bottles 摔跤学乖\n",
      "93 bottles 八戒活的真自在\n",
      "93 bottles 弄巧成拙\n",
      "93 bottles 八戒活的真自在\n",
      "93 bottles 八戒八戒\n",
      "93 bottles 心肠不坏\n",
      "93 bottles 八戒八戒\n",
      "93 bottles 傻的可爱\n",
      "93 bottles 八戒活的真自在\n",
      "92 bottles 在啤酒墙上\n",
      "92 bottles 啤酒\n",
      "92 bottles 八戒八戒\n",
      "92 bottles 心肠不坏\n",
      "92 bottles 八戒八戒\n",
      "92 bottles 傻的可爱\n",
      "92 bottles 肥头大耳多\n",
      "92 bottles 只会只会\n",
      "92 bottles 摔跤学乖\n",
      "92 bottles 八戒活的真自在\n",
      "92 bottles 弄巧成拙\n",
      "92 bottles 八戒活的真自在\n",
      "92 bottles 八戒八戒\n",
      "92 bottles 心肠不坏\n",
      "92 bottles 八戒八戒\n",
      "92 bottles 傻的可爱\n",
      "92 bottles 八戒活的真自在\n",
      "91 bottles 在啤酒墙上\n",
      "91 bottles 啤酒\n",
      "91 bottles 八戒八戒\n",
      "91 bottles 心肠不坏\n",
      "91 bottles 八戒八戒\n",
      "91 bottles 傻的可爱\n",
      "91 bottles 肥头大耳多\n",
      "91 bottles 只会只会\n",
      "91 bottles 摔跤学乖\n",
      "91 bottles 八戒活的真自在\n",
      "91 bottles 弄巧成拙\n",
      "91 bottles 八戒活的真自在\n",
      "91 bottles 八戒八戒\n",
      "91 bottles 心肠不坏\n",
      "91 bottles 八戒八戒\n",
      "91 bottles 傻的可爱\n",
      "91 bottles 八戒活的真自在\n",
      "90 bottles 在啤酒墙上\n",
      "90 bottles 啤酒\n",
      "90 bottles 八戒八戒\n",
      "90 bottles 心肠不坏\n",
      "90 bottles 八戒八戒\n",
      "90 bottles 傻的可爱\n",
      "90 bottles 肥头大耳多\n",
      "90 bottles 只会只会\n",
      "90 bottles 摔跤学乖\n",
      "90 bottles 八戒活的真自在\n",
      "90 bottles 弄巧成拙\n",
      "90 bottles 八戒活的真自在\n",
      "90 bottles 八戒八戒\n",
      "90 bottles 心肠不坏\n",
      "90 bottles 八戒八戒\n",
      "90 bottles 傻的可爱\n",
      "90 bottles 八戒活的真自在\n",
      "89 bottles 在啤酒墙上\n",
      "89 bottles 啤酒\n",
      "89 bottles 八戒八戒\n",
      "89 bottles 心肠不坏\n",
      "89 bottles 八戒八戒\n",
      "89 bottles 傻的可爱\n",
      "89 bottles 肥头大耳多\n",
      "89 bottles 只会只会\n",
      "89 bottles 摔跤学乖\n",
      "89 bottles 八戒活的真自在\n",
      "89 bottles 弄巧成拙\n",
      "89 bottles 八戒活的真自在\n",
      "89 bottles 八戒八戒\n",
      "89 bottles 心肠不坏\n",
      "89 bottles 八戒八戒\n",
      "89 bottles 傻的可爱\n",
      "89 bottles 八戒活的真自在\n",
      "88 bottles 在啤酒墙上\n",
      "88 bottles 啤酒\n",
      "88 bottles 八戒八戒\n",
      "88 bottles 心肠不坏\n",
      "88 bottles 八戒八戒\n",
      "88 bottles 傻的可爱\n",
      "88 bottles 肥头大耳多\n",
      "88 bottles 只会只会\n",
      "88 bottles 摔跤学乖\n",
      "88 bottles 八戒活的真自在\n",
      "88 bottles 弄巧成拙\n",
      "88 bottles 八戒活的真自在\n",
      "88 bottles 八戒八戒\n",
      "88 bottles 心肠不坏\n",
      "88 bottles 八戒八戒\n",
      "88 bottles 傻的可爱\n",
      "88 bottles 八戒活的真自在\n",
      "87 bottles 在啤酒墙上\n",
      "87 bottles 啤酒\n",
      "87 bottles 八戒八戒\n",
      "87 bottles 心肠不坏\n",
      "87 bottles 八戒八戒\n",
      "87 bottles 傻的可爱\n",
      "87 bottles 肥头大耳多\n",
      "87 bottles 只会只会\n",
      "87 bottles 摔跤学乖\n",
      "87 bottles 八戒活的真自在\n",
      "87 bottles 弄巧成拙\n",
      "87 bottles 八戒活的真自在\n",
      "87 bottles 八戒八戒\n",
      "87 bottles 心肠不坏\n",
      "87 bottles 八戒八戒\n",
      "87 bottles 傻的可爱\n",
      "87 bottles 八戒活的真自在\n",
      "86 bottles 在啤酒墙上\n",
      "86 bottles 啤酒\n",
      "86 bottles 八戒八戒\n",
      "86 bottles 心肠不坏\n",
      "86 bottles 八戒八戒\n",
      "86 bottles 傻的可爱\n",
      "86 bottles 肥头大耳多\n",
      "86 bottles 只会只会\n",
      "86 bottles 摔跤学乖\n",
      "86 bottles 八戒活的真自在\n",
      "86 bottles 弄巧成拙\n",
      "86 bottles 八戒活的真自在\n",
      "86 bottles 八戒八戒\n",
      "86 bottles 心肠不坏\n",
      "86 bottles 八戒八戒\n",
      "86 bottles 傻的可爱\n",
      "86 bottles 八戒活的真自在\n",
      "85 bottles 在啤酒墙上\n",
      "85 bottles 啤酒\n",
      "85 bottles 八戒八戒\n",
      "85 bottles 心肠不坏\n",
      "85 bottles 八戒八戒\n",
      "85 bottles 傻的可爱\n",
      "85 bottles 肥头大耳多\n",
      "85 bottles 只会只会\n",
      "85 bottles 摔跤学乖\n",
      "85 bottles 八戒活的真自在\n",
      "85 bottles 弄巧成拙\n",
      "85 bottles 八戒活的真自在\n",
      "85 bottles 八戒八戒\n",
      "85 bottles 心肠不坏\n",
      "85 bottles 八戒八戒\n",
      "85 bottles 傻的可爱\n",
      "85 bottles 八戒活的真自在\n",
      "84 bottles 在啤酒墙上\n",
      "84 bottles 啤酒\n",
      "84 bottles 八戒八戒\n",
      "84 bottles 心肠不坏\n",
      "84 bottles 八戒八戒\n",
      "84 bottles 傻的可爱\n",
      "84 bottles 肥头大耳多\n",
      "84 bottles 只会只会\n",
      "84 bottles 摔跤学乖\n",
      "84 bottles 八戒活的真自在\n",
      "84 bottles 弄巧成拙\n",
      "84 bottles 八戒活的真自在\n",
      "84 bottles 八戒八戒\n",
      "84 bottles 心肠不坏\n",
      "84 bottles 八戒八戒\n",
      "84 bottles 傻的可爱\n",
      "84 bottles 八戒活的真自在\n",
      "83 bottles 在啤酒墙上\n",
      "83 bottles 啤酒\n",
      "83 bottles 八戒八戒\n",
      "83 bottles 心肠不坏\n",
      "83 bottles 八戒八戒\n",
      "83 bottles 傻的可爱\n",
      "83 bottles 肥头大耳多\n",
      "83 bottles 只会只会\n",
      "83 bottles 摔跤学乖\n",
      "83 bottles 八戒活的真自在\n",
      "83 bottles 弄巧成拙\n",
      "83 bottles 八戒活的真自在\n",
      "83 bottles 八戒八戒\n",
      "83 bottles 心肠不坏\n",
      "83 bottles 八戒八戒\n",
      "83 bottles 傻的可爱\n",
      "83 bottles 八戒活的真自在\n",
      "82 bottles 在啤酒墙上\n",
      "82 bottles 啤酒\n",
      "82 bottles 八戒八戒\n",
      "82 bottles 心肠不坏\n",
      "82 bottles 八戒八戒\n",
      "82 bottles 傻的可爱\n",
      "82 bottles 肥头大耳多\n",
      "82 bottles 只会只会\n",
      "82 bottles 摔跤学乖\n",
      "82 bottles 八戒活的真自在\n",
      "82 bottles 弄巧成拙\n",
      "82 bottles 八戒活的真自在\n",
      "82 bottles 八戒八戒\n",
      "82 bottles 心肠不坏\n",
      "82 bottles 八戒八戒\n",
      "82 bottles 傻的可爱\n",
      "82 bottles 八戒活的真自在\n",
      "81 bottles 在啤酒墙上\n",
      "81 bottles 啤酒\n",
      "81 bottles 八戒八戒\n",
      "81 bottles 心肠不坏\n",
      "81 bottles 八戒八戒\n",
      "81 bottles 傻的可爱\n",
      "81 bottles 肥头大耳多\n",
      "81 bottles 只会只会\n",
      "81 bottles 摔跤学乖\n",
      "81 bottles 八戒活的真自在\n",
      "81 bottles 弄巧成拙\n",
      "81 bottles 八戒活的真自在\n",
      "81 bottles 八戒八戒\n",
      "81 bottles 心肠不坏\n",
      "81 bottles 八戒八戒\n",
      "81 bottles 傻的可爱\n",
      "81 bottles 八戒活的真自在\n",
      "80 bottles 在啤酒墙上\n",
      "80 bottles 啤酒\n",
      "80 bottles 八戒八戒\n",
      "80 bottles 心肠不坏\n",
      "80 bottles 八戒八戒\n",
      "80 bottles 傻的可爱\n",
      "80 bottles 肥头大耳多\n",
      "80 bottles 只会只会\n",
      "80 bottles 摔跤学乖\n",
      "80 bottles 八戒活的真自在\n",
      "80 bottles 弄巧成拙\n",
      "80 bottles 八戒活的真自在\n",
      "80 bottles 八戒八戒\n",
      "80 bottles 心肠不坏\n",
      "80 bottles 八戒八戒\n",
      "80 bottles 傻的可爱\n",
      "80 bottles 八戒活的真自在\n",
      "79 bottles 在啤酒墙上\n",
      "79 bottles 啤酒\n",
      "79 bottles 八戒八戒\n",
      "79 bottles 心肠不坏\n",
      "79 bottles 八戒八戒\n",
      "79 bottles 傻的可爱\n",
      "79 bottles 肥头大耳多\n",
      "79 bottles 只会只会\n",
      "79 bottles 摔跤学乖\n",
      "79 bottles 八戒活的真自在\n",
      "79 bottles 弄巧成拙\n",
      "79 bottles 八戒活的真自在\n",
      "79 bottles 八戒八戒\n",
      "79 bottles 心肠不坏\n",
      "79 bottles 八戒八戒\n",
      "79 bottles 傻的可爱\n",
      "79 bottles 八戒活的真自在\n",
      "78 bottles 在啤酒墙上\n",
      "78 bottles 啤酒\n",
      "78 bottles 八戒八戒\n",
      "78 bottles 心肠不坏\n",
      "78 bottles 八戒八戒\n",
      "78 bottles 傻的可爱\n",
      "78 bottles 肥头大耳多\n",
      "78 bottles 只会只会\n",
      "78 bottles 摔跤学乖\n",
      "78 bottles 八戒活的真自在\n",
      "78 bottles 弄巧成拙\n",
      "78 bottles 八戒活的真自在\n",
      "78 bottles 八戒八戒\n",
      "78 bottles 心肠不坏\n",
      "78 bottles 八戒八戒\n",
      "78 bottles 傻的可爱\n",
      "78 bottles 八戒活的真自在\n",
      "77 bottles 在啤酒墙上\n",
      "77 bottles 啤酒\n",
      "77 bottles 八戒八戒\n",
      "77 bottles 心肠不坏\n",
      "77 bottles 八戒八戒\n",
      "77 bottles 傻的可爱\n",
      "77 bottles 肥头大耳多\n",
      "77 bottles 只会只会\n",
      "77 bottles 摔跤学乖\n",
      "77 bottles 八戒活的真自在\n",
      "77 bottles 弄巧成拙\n",
      "77 bottles 八戒活的真自在\n",
      "77 bottles 八戒八戒\n",
      "77 bottles 心肠不坏\n",
      "77 bottles 八戒八戒\n",
      "77 bottles 傻的可爱\n",
      "77 bottles 八戒活的真自在\n",
      "76 bottles 在啤酒墙上\n",
      "76 bottles 啤酒\n",
      "76 bottles 八戒八戒\n",
      "76 bottles 心肠不坏\n",
      "76 bottles 八戒八戒\n",
      "76 bottles 傻的可爱\n",
      "76 bottles 肥头大耳多\n",
      "76 bottles 只会只会\n",
      "76 bottles 摔跤学乖\n",
      "76 bottles 八戒活的真自在\n",
      "76 bottles 弄巧成拙\n",
      "76 bottles 八戒活的真自在\n",
      "76 bottles 八戒八戒\n",
      "76 bottles 心肠不坏\n",
      "76 bottles 八戒八戒\n",
      "76 bottles 傻的可爱\n",
      "76 bottles 八戒活的真自在\n",
      "75 bottles 在啤酒墙上\n",
      "75 bottles 啤酒\n",
      "75 bottles 八戒八戒\n",
      "75 bottles 心肠不坏\n",
      "75 bottles 八戒八戒\n",
      "75 bottles 傻的可爱\n",
      "75 bottles 肥头大耳多\n",
      "75 bottles 只会只会\n",
      "75 bottles 摔跤学乖\n",
      "75 bottles 八戒活的真自在\n",
      "75 bottles 弄巧成拙\n",
      "75 bottles 八戒活的真自在\n",
      "75 bottles 八戒八戒\n",
      "75 bottles 心肠不坏\n",
      "75 bottles 八戒八戒\n",
      "75 bottles 傻的可爱\n",
      "75 bottles 八戒活的真自在\n",
      "74 bottles 在啤酒墙上\n",
      "74 bottles 啤酒\n",
      "74 bottles 八戒八戒\n",
      "74 bottles 心肠不坏\n",
      "74 bottles 八戒八戒\n",
      "74 bottles 傻的可爱\n",
      "74 bottles 肥头大耳多\n",
      "74 bottles 只会只会\n",
      "74 bottles 摔跤学乖\n",
      "74 bottles 八戒活的真自在\n",
      "74 bottles 弄巧成拙\n",
      "74 bottles 八戒活的真自在\n",
      "74 bottles 八戒八戒\n",
      "74 bottles 心肠不坏\n",
      "74 bottles 八戒八戒\n",
      "74 bottles 傻的可爱\n",
      "74 bottles 八戒活的真自在\n",
      "73 bottles 在啤酒墙上\n",
      "73 bottles 啤酒\n",
      "73 bottles 八戒八戒\n",
      "73 bottles 心肠不坏\n",
      "73 bottles 八戒八戒\n",
      "73 bottles 傻的可爱\n",
      "73 bottles 肥头大耳多\n",
      "73 bottles 只会只会\n",
      "73 bottles 摔跤学乖\n",
      "73 bottles 八戒活的真自在\n",
      "73 bottles 弄巧成拙\n",
      "73 bottles 八戒活的真自在\n",
      "73 bottles 八戒八戒\n",
      "73 bottles 心肠不坏\n",
      "73 bottles 八戒八戒\n",
      "73 bottles 傻的可爱\n",
      "73 bottles 八戒活的真自在\n",
      "72 bottles 在啤酒墙上\n",
      "72 bottles 啤酒\n",
      "72 bottles 八戒八戒\n",
      "72 bottles 心肠不坏\n",
      "72 bottles 八戒八戒\n",
      "72 bottles 傻的可爱\n",
      "72 bottles 肥头大耳多\n",
      "72 bottles 只会只会\n",
      "72 bottles 摔跤学乖\n",
      "72 bottles 八戒活的真自在\n",
      "72 bottles 弄巧成拙\n",
      "72 bottles 八戒活的真自在\n",
      "72 bottles 八戒八戒\n",
      "72 bottles 心肠不坏\n",
      "72 bottles 八戒八戒\n",
      "72 bottles 傻的可爱\n",
      "72 bottles 八戒活的真自在\n",
      "71 bottles 在啤酒墙上\n",
      "71 bottles 啤酒\n",
      "71 bottles 八戒八戒\n",
      "71 bottles 心肠不坏\n",
      "71 bottles 八戒八戒\n",
      "71 bottles 傻的可爱\n",
      "71 bottles 肥头大耳多\n",
      "71 bottles 只会只会\n",
      "71 bottles 摔跤学乖\n",
      "71 bottles 八戒活的真自在\n",
      "71 bottles 弄巧成拙\n",
      "71 bottles 八戒活的真自在\n",
      "71 bottles 八戒八戒\n",
      "71 bottles 心肠不坏\n",
      "71 bottles 八戒八戒\n",
      "71 bottles 傻的可爱\n",
      "71 bottles 八戒活的真自在\n",
      "70 bottles 在啤酒墙上\n",
      "70 bottles 啤酒\n",
      "70 bottles 八戒八戒\n",
      "70 bottles 心肠不坏\n",
      "70 bottles 八戒八戒\n",
      "70 bottles 傻的可爱\n",
      "70 bottles 肥头大耳多\n",
      "70 bottles 只会只会\n",
      "70 bottles 摔跤学乖\n",
      "70 bottles 八戒活的真自在\n",
      "70 bottles 弄巧成拙\n",
      "70 bottles 八戒活的真自在\n",
      "70 bottles 八戒八戒\n",
      "70 bottles 心肠不坏\n",
      "70 bottles 八戒八戒\n",
      "70 bottles 傻的可爱\n",
      "70 bottles 八戒活的真自在\n",
      "69 bottles 在啤酒墙上\n",
      "69 bottles 啤酒\n",
      "69 bottles 八戒八戒\n",
      "69 bottles 心肠不坏\n",
      "69 bottles 八戒八戒\n",
      "69 bottles 傻的可爱\n",
      "69 bottles 肥头大耳多\n",
      "69 bottles 只会只会\n",
      "69 bottles 摔跤学乖\n",
      "69 bottles 八戒活的真自在\n",
      "69 bottles 弄巧成拙\n",
      "69 bottles 八戒活的真自在\n",
      "69 bottles 八戒八戒\n",
      "69 bottles 心肠不坏\n",
      "69 bottles 八戒八戒\n",
      "69 bottles 傻的可爱\n",
      "69 bottles 八戒活的真自在\n",
      "68 bottles 在啤酒墙上\n",
      "68 bottles 啤酒\n",
      "68 bottles 八戒八戒\n",
      "68 bottles 心肠不坏\n",
      "68 bottles 八戒八戒\n",
      "68 bottles 傻的可爱\n",
      "68 bottles 肥头大耳多\n",
      "68 bottles 只会只会\n",
      "68 bottles 摔跤学乖\n",
      "68 bottles 八戒活的真自在\n",
      "68 bottles 弄巧成拙\n",
      "68 bottles 八戒活的真自在\n",
      "68 bottles 八戒八戒\n",
      "68 bottles 心肠不坏\n",
      "68 bottles 八戒八戒\n",
      "68 bottles 傻的可爱\n",
      "68 bottles 八戒活的真自在\n",
      "67 bottles 在啤酒墙上\n",
      "67 bottles 啤酒\n",
      "67 bottles 八戒八戒\n",
      "67 bottles 心肠不坏\n",
      "67 bottles 八戒八戒\n",
      "67 bottles 傻的可爱\n",
      "67 bottles 肥头大耳多\n",
      "67 bottles 只会只会\n",
      "67 bottles 摔跤学乖\n",
      "67 bottles 八戒活的真自在\n",
      "67 bottles 弄巧成拙\n",
      "67 bottles 八戒活的真自在\n",
      "67 bottles 八戒八戒\n",
      "67 bottles 心肠不坏\n",
      "67 bottles 八戒八戒\n",
      "67 bottles 傻的可爱\n",
      "67 bottles 八戒活的真自在\n",
      "66 bottles 在啤酒墙上\n",
      "66 bottles 啤酒\n",
      "66 bottles 八戒八戒\n",
      "66 bottles 心肠不坏\n",
      "66 bottles 八戒八戒\n",
      "66 bottles 傻的可爱\n",
      "66 bottles 肥头大耳多\n",
      "66 bottles 只会只会\n",
      "66 bottles 摔跤学乖\n",
      "66 bottles 八戒活的真自在\n",
      "66 bottles 弄巧成拙\n",
      "66 bottles 八戒活的真自在\n",
      "66 bottles 八戒八戒\n",
      "66 bottles 心肠不坏\n",
      "66 bottles 八戒八戒\n",
      "66 bottles 傻的可爱\n",
      "66 bottles 八戒活的真自在\n",
      "65 bottles 在啤酒墙上\n",
      "65 bottles 啤酒\n",
      "65 bottles 八戒八戒\n",
      "65 bottles 心肠不坏\n",
      "65 bottles 八戒八戒\n",
      "65 bottles 傻的可爱\n",
      "65 bottles 肥头大耳多\n",
      "65 bottles 只会只会\n",
      "65 bottles 摔跤学乖\n",
      "65 bottles 八戒活的真自在\n",
      "65 bottles 弄巧成拙\n",
      "65 bottles 八戒活的真自在\n",
      "65 bottles 八戒八戒\n",
      "65 bottles 心肠不坏\n",
      "65 bottles 八戒八戒\n",
      "65 bottles 傻的可爱\n",
      "65 bottles 八戒活的真自在\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "64 bottles 在啤酒墙上\n",
      "64 bottles 啤酒\n",
      "64 bottles 八戒八戒\n",
      "64 bottles 心肠不坏\n",
      "64 bottles 八戒八戒\n",
      "64 bottles 傻的可爱\n",
      "64 bottles 肥头大耳多\n",
      "64 bottles 只会只会\n",
      "64 bottles 摔跤学乖\n",
      "64 bottles 八戒活的真自在\n",
      "64 bottles 弄巧成拙\n",
      "64 bottles 八戒活的真自在\n",
      "64 bottles 八戒八戒\n",
      "64 bottles 心肠不坏\n",
      "64 bottles 八戒八戒\n",
      "64 bottles 傻的可爱\n",
      "64 bottles 八戒活的真自在\n",
      "63 bottles 在啤酒墙上\n",
      "63 bottles 啤酒\n",
      "63 bottles 八戒八戒\n",
      "63 bottles 心肠不坏\n",
      "63 bottles 八戒八戒\n",
      "63 bottles 傻的可爱\n",
      "63 bottles 肥头大耳多\n",
      "63 bottles 只会只会\n",
      "63 bottles 摔跤学乖\n",
      "63 bottles 八戒活的真自在\n",
      "63 bottles 弄巧成拙\n",
      "63 bottles 八戒活的真自在\n",
      "63 bottles 八戒八戒\n",
      "63 bottles 心肠不坏\n",
      "63 bottles 八戒八戒\n",
      "63 bottles 傻的可爱\n",
      "63 bottles 八戒活的真自在\n",
      "62 bottles 在啤酒墙上\n",
      "62 bottles 啤酒\n",
      "62 bottles 八戒八戒\n",
      "62 bottles 心肠不坏\n",
      "62 bottles 八戒八戒\n",
      "62 bottles 傻的可爱\n",
      "62 bottles 肥头大耳多\n",
      "62 bottles 只会只会\n",
      "62 bottles 摔跤学乖\n",
      "62 bottles 八戒活的真自在\n",
      "62 bottles 弄巧成拙\n",
      "62 bottles 八戒活的真自在\n",
      "62 bottles 八戒八戒\n",
      "62 bottles 心肠不坏\n",
      "62 bottles 八戒八戒\n",
      "62 bottles 傻的可爱\n",
      "62 bottles 八戒活的真自在\n",
      "61 bottles 在啤酒墙上\n",
      "61 bottles 啤酒\n",
      "61 bottles 八戒八戒\n",
      "61 bottles 心肠不坏\n",
      "61 bottles 八戒八戒\n",
      "61 bottles 傻的可爱\n",
      "61 bottles 肥头大耳多\n",
      "61 bottles 只会只会\n",
      "61 bottles 摔跤学乖\n",
      "61 bottles 八戒活的真自在\n",
      "61 bottles 弄巧成拙\n",
      "61 bottles 八戒活的真自在\n",
      "61 bottles 八戒八戒\n",
      "61 bottles 心肠不坏\n",
      "61 bottles 八戒八戒\n",
      "61 bottles 傻的可爱\n",
      "61 bottles 八戒活的真自在\n",
      "60 bottles 在啤酒墙上\n",
      "60 bottles 啤酒\n",
      "60 bottles 八戒八戒\n",
      "60 bottles 心肠不坏\n",
      "60 bottles 八戒八戒\n",
      "60 bottles 傻的可爱\n",
      "60 bottles 肥头大耳多\n",
      "60 bottles 只会只会\n",
      "60 bottles 摔跤学乖\n",
      "60 bottles 八戒活的真自在\n",
      "60 bottles 弄巧成拙\n",
      "60 bottles 八戒活的真自在\n",
      "60 bottles 八戒八戒\n",
      "60 bottles 心肠不坏\n",
      "60 bottles 八戒八戒\n",
      "60 bottles 傻的可爱\n",
      "60 bottles 八戒活的真自在\n",
      "59 bottles 在啤酒墙上\n",
      "59 bottles 啤酒\n",
      "59 bottles 八戒八戒\n",
      "59 bottles 心肠不坏\n",
      "59 bottles 八戒八戒\n",
      "59 bottles 傻的可爱\n",
      "59 bottles 肥头大耳多\n",
      "59 bottles 只会只会\n",
      "59 bottles 摔跤学乖\n",
      "59 bottles 八戒活的真自在\n",
      "59 bottles 弄巧成拙\n",
      "59 bottles 八戒活的真自在\n",
      "59 bottles 八戒八戒\n",
      "59 bottles 心肠不坏\n",
      "59 bottles 八戒八戒\n",
      "59 bottles 傻的可爱\n",
      "59 bottles 八戒活的真自在\n",
      "58 bottles 在啤酒墙上\n",
      "58 bottles 啤酒\n",
      "58 bottles 八戒八戒\n",
      "58 bottles 心肠不坏\n",
      "58 bottles 八戒八戒\n",
      "58 bottles 傻的可爱\n",
      "58 bottles 肥头大耳多\n",
      "58 bottles 只会只会\n",
      "58 bottles 摔跤学乖\n",
      "58 bottles 八戒活的真自在\n",
      "58 bottles 弄巧成拙\n",
      "58 bottles 八戒活的真自在\n",
      "58 bottles 八戒八戒\n",
      "58 bottles 心肠不坏\n",
      "58 bottles 八戒八戒\n",
      "58 bottles 傻的可爱\n",
      "58 bottles 八戒活的真自在\n",
      "57 bottles 在啤酒墙上\n",
      "57 bottles 啤酒\n",
      "57 bottles 八戒八戒\n",
      "57 bottles 心肠不坏\n",
      "57 bottles 八戒八戒\n",
      "57 bottles 傻的可爱\n",
      "57 bottles 肥头大耳多\n",
      "57 bottles 只会只会\n",
      "57 bottles 摔跤学乖\n",
      "57 bottles 八戒活的真自在\n",
      "57 bottles 弄巧成拙\n",
      "57 bottles 八戒活的真自在\n",
      "57 bottles 八戒八戒\n",
      "57 bottles 心肠不坏\n",
      "57 bottles 八戒八戒\n",
      "57 bottles 傻的可爱\n",
      "57 bottles 八戒活的真自在\n",
      "56 bottles 在啤酒墙上\n",
      "56 bottles 啤酒\n",
      "56 bottles 八戒八戒\n",
      "56 bottles 心肠不坏\n",
      "56 bottles 八戒八戒\n",
      "56 bottles 傻的可爱\n",
      "56 bottles 肥头大耳多\n",
      "56 bottles 只会只会\n",
      "56 bottles 摔跤学乖\n",
      "56 bottles 八戒活的真自在\n",
      "56 bottles 弄巧成拙\n",
      "56 bottles 八戒活的真自在\n",
      "56 bottles 八戒八戒\n",
      "56 bottles 心肠不坏\n",
      "56 bottles 八戒八戒\n",
      "56 bottles 傻的可爱\n",
      "56 bottles 八戒活的真自在\n",
      "55 bottles 在啤酒墙上\n",
      "55 bottles 啤酒\n",
      "55 bottles 八戒八戒\n",
      "55 bottles 心肠不坏\n",
      "55 bottles 八戒八戒\n",
      "55 bottles 傻的可爱\n",
      "55 bottles 肥头大耳多\n",
      "55 bottles 只会只会\n",
      "55 bottles 摔跤学乖\n",
      "55 bottles 八戒活的真自在\n",
      "55 bottles 弄巧成拙\n",
      "55 bottles 八戒活的真自在\n",
      "55 bottles 八戒八戒\n",
      "55 bottles 心肠不坏\n",
      "55 bottles 八戒八戒\n",
      "55 bottles 傻的可爱\n",
      "55 bottles 八戒活的真自在\n",
      "54 bottles 在啤酒墙上\n",
      "54 bottles 啤酒\n",
      "54 bottles 八戒八戒\n",
      "54 bottles 心肠不坏\n",
      "54 bottles 八戒八戒\n",
      "54 bottles 傻的可爱\n",
      "54 bottles 肥头大耳多\n",
      "54 bottles 只会只会\n",
      "54 bottles 摔跤学乖\n",
      "54 bottles 八戒活的真自在\n",
      "54 bottles 弄巧成拙\n",
      "54 bottles 八戒活的真自在\n",
      "54 bottles 八戒八戒\n",
      "54 bottles 心肠不坏\n",
      "54 bottles 八戒八戒\n",
      "54 bottles 傻的可爱\n",
      "54 bottles 八戒活的真自在\n",
      "53 bottles 在啤酒墙上\n",
      "53 bottles 啤酒\n",
      "53 bottles 八戒八戒\n",
      "53 bottles 心肠不坏\n",
      "53 bottles 八戒八戒\n",
      "53 bottles 傻的可爱\n",
      "53 bottles 肥头大耳多\n",
      "53 bottles 只会只会\n",
      "53 bottles 摔跤学乖\n",
      "53 bottles 八戒活的真自在\n",
      "53 bottles 弄巧成拙\n",
      "53 bottles 八戒活的真自在\n",
      "53 bottles 八戒八戒\n",
      "53 bottles 心肠不坏\n",
      "53 bottles 八戒八戒\n",
      "53 bottles 傻的可爱\n",
      "53 bottles 八戒活的真自在\n",
      "52 bottles 在啤酒墙上\n",
      "52 bottles 啤酒\n",
      "52 bottles 八戒八戒\n",
      "52 bottles 心肠不坏\n",
      "52 bottles 八戒八戒\n",
      "52 bottles 傻的可爱\n",
      "52 bottles 肥头大耳多\n",
      "52 bottles 只会只会\n",
      "52 bottles 摔跤学乖\n",
      "52 bottles 八戒活的真自在\n",
      "52 bottles 弄巧成拙\n",
      "52 bottles 八戒活的真自在\n",
      "52 bottles 八戒八戒\n",
      "52 bottles 心肠不坏\n",
      "52 bottles 八戒八戒\n",
      "52 bottles 傻的可爱\n",
      "52 bottles 八戒活的真自在\n",
      "51 bottles 在啤酒墙上\n",
      "51 bottles 啤酒\n",
      "51 bottles 八戒八戒\n",
      "51 bottles 心肠不坏\n",
      "51 bottles 八戒八戒\n",
      "51 bottles 傻的可爱\n",
      "51 bottles 肥头大耳多\n",
      "51 bottles 只会只会\n",
      "51 bottles 摔跤学乖\n",
      "51 bottles 八戒活的真自在\n",
      "51 bottles 弄巧成拙\n",
      "51 bottles 八戒活的真自在\n",
      "51 bottles 八戒八戒\n",
      "51 bottles 心肠不坏\n",
      "51 bottles 八戒八戒\n",
      "51 bottles 傻的可爱\n",
      "51 bottles 八戒活的真自在\n",
      "50 bottles 在啤酒墙上\n",
      "50 bottles 啤酒\n",
      "50 bottles 八戒八戒\n",
      "50 bottles 心肠不坏\n",
      "50 bottles 八戒八戒\n",
      "50 bottles 傻的可爱\n",
      "50 bottles 肥头大耳多\n",
      "50 bottles 只会只会\n",
      "50 bottles 摔跤学乖\n",
      "50 bottles 八戒活的真自在\n",
      "50 bottles 弄巧成拙\n",
      "50 bottles 八戒活的真自在\n",
      "50 bottles 八戒八戒\n",
      "50 bottles 心肠不坏\n",
      "50 bottles 八戒八戒\n",
      "50 bottles 傻的可爱\n",
      "50 bottles 八戒活的真自在\n",
      "49 bottles 在啤酒墙上\n",
      "49 bottles 啤酒\n",
      "49 bottles 八戒八戒\n",
      "49 bottles 心肠不坏\n",
      "49 bottles 八戒八戒\n",
      "49 bottles 傻的可爱\n",
      "49 bottles 肥头大耳多\n",
      "49 bottles 只会只会\n",
      "49 bottles 摔跤学乖\n",
      "49 bottles 八戒活的真自在\n",
      "49 bottles 弄巧成拙\n",
      "49 bottles 八戒活的真自在\n",
      "49 bottles 八戒八戒\n",
      "49 bottles 心肠不坏\n",
      "49 bottles 八戒八戒\n",
      "49 bottles 傻的可爱\n",
      "49 bottles 八戒活的真自在\n",
      "48 bottles 在啤酒墙上\n",
      "48 bottles 啤酒\n",
      "48 bottles 八戒八戒\n",
      "48 bottles 心肠不坏\n",
      "48 bottles 八戒八戒\n",
      "48 bottles 傻的可爱\n",
      "48 bottles 肥头大耳多\n",
      "48 bottles 只会只会\n",
      "48 bottles 摔跤学乖\n",
      "48 bottles 八戒活的真自在\n",
      "48 bottles 弄巧成拙\n",
      "48 bottles 八戒活的真自在\n",
      "48 bottles 八戒八戒\n",
      "48 bottles 心肠不坏\n",
      "48 bottles 八戒八戒\n",
      "48 bottles 傻的可爱\n",
      "48 bottles 八戒活的真自在\n",
      "47 bottles 在啤酒墙上\n",
      "47 bottles 啤酒\n",
      "47 bottles 八戒八戒\n",
      "47 bottles 心肠不坏\n",
      "47 bottles 八戒八戒\n",
      "47 bottles 傻的可爱\n",
      "47 bottles 肥头大耳多\n",
      "47 bottles 只会只会\n",
      "47 bottles 摔跤学乖\n",
      "47 bottles 八戒活的真自在\n",
      "47 bottles 弄巧成拙\n",
      "47 bottles 八戒活的真自在\n",
      "47 bottles 八戒八戒\n",
      "47 bottles 心肠不坏\n",
      "47 bottles 八戒八戒\n",
      "47 bottles 傻的可爱\n",
      "47 bottles 八戒活的真自在\n",
      "46 bottles 在啤酒墙上\n",
      "46 bottles 啤酒\n",
      "46 bottles 八戒八戒\n",
      "46 bottles 心肠不坏\n",
      "46 bottles 八戒八戒\n",
      "46 bottles 傻的可爱\n",
      "46 bottles 肥头大耳多\n",
      "46 bottles 只会只会\n",
      "46 bottles 摔跤学乖\n",
      "46 bottles 八戒活的真自在\n",
      "46 bottles 弄巧成拙\n",
      "46 bottles 八戒活的真自在\n",
      "46 bottles 八戒八戒\n",
      "46 bottles 心肠不坏\n",
      "46 bottles 八戒八戒\n",
      "46 bottles 傻的可爱\n",
      "46 bottles 八戒活的真自在\n",
      "45 bottles 在啤酒墙上\n",
      "45 bottles 啤酒\n",
      "45 bottles 八戒八戒\n",
      "45 bottles 心肠不坏\n",
      "45 bottles 八戒八戒\n",
      "45 bottles 傻的可爱\n",
      "45 bottles 肥头大耳多\n",
      "45 bottles 只会只会\n",
      "45 bottles 摔跤学乖\n",
      "45 bottles 八戒活的真自在\n",
      "45 bottles 弄巧成拙\n",
      "45 bottles 八戒活的真自在\n",
      "45 bottles 八戒八戒\n",
      "45 bottles 心肠不坏\n",
      "45 bottles 八戒八戒\n",
      "45 bottles 傻的可爱\n",
      "45 bottles 八戒活的真自在\n",
      "44 bottles 在啤酒墙上\n",
      "44 bottles 啤酒\n",
      "44 bottles 八戒八戒\n",
      "44 bottles 心肠不坏\n",
      "44 bottles 八戒八戒\n",
      "44 bottles 傻的可爱\n",
      "44 bottles 肥头大耳多\n",
      "44 bottles 只会只会\n",
      "44 bottles 摔跤学乖\n",
      "44 bottles 八戒活的真自在\n",
      "44 bottles 弄巧成拙\n",
      "44 bottles 八戒活的真自在\n",
      "44 bottles 八戒八戒\n",
      "44 bottles 心肠不坏\n",
      "44 bottles 八戒八戒\n",
      "44 bottles 傻的可爱\n",
      "44 bottles 八戒活的真自在\n",
      "43 bottles 在啤酒墙上\n",
      "43 bottles 啤酒\n",
      "43 bottles 八戒八戒\n",
      "43 bottles 心肠不坏\n",
      "43 bottles 八戒八戒\n",
      "43 bottles 傻的可爱\n",
      "43 bottles 肥头大耳多\n",
      "43 bottles 只会只会\n",
      "43 bottles 摔跤学乖\n",
      "43 bottles 八戒活的真自在\n",
      "43 bottles 弄巧成拙\n",
      "43 bottles 八戒活的真自在\n",
      "43 bottles 八戒八戒\n",
      "43 bottles 心肠不坏\n",
      "43 bottles 八戒八戒\n",
      "43 bottles 傻的可爱\n",
      "43 bottles 八戒活的真自在\n",
      "42 bottles 在啤酒墙上\n",
      "42 bottles 啤酒\n",
      "42 bottles 八戒八戒\n",
      "42 bottles 心肠不坏\n",
      "42 bottles 八戒八戒\n",
      "42 bottles 傻的可爱\n",
      "42 bottles 肥头大耳多\n",
      "42 bottles 只会只会\n",
      "42 bottles 摔跤学乖\n",
      "42 bottles 八戒活的真自在\n",
      "42 bottles 弄巧成拙\n",
      "42 bottles 八戒活的真自在\n",
      "42 bottles 八戒八戒\n",
      "42 bottles 心肠不坏\n",
      "42 bottles 八戒八戒\n",
      "42 bottles 傻的可爱\n",
      "42 bottles 八戒活的真自在\n",
      "41 bottles 在啤酒墙上\n",
      "41 bottles 啤酒\n",
      "41 bottles 八戒八戒\n",
      "41 bottles 心肠不坏\n",
      "41 bottles 八戒八戒\n",
      "41 bottles 傻的可爱\n",
      "41 bottles 肥头大耳多\n",
      "41 bottles 只会只会\n",
      "41 bottles 摔跤学乖\n",
      "41 bottles 八戒活的真自在\n",
      "41 bottles 弄巧成拙\n",
      "41 bottles 八戒活的真自在\n",
      "41 bottles 八戒八戒\n",
      "41 bottles 心肠不坏\n",
      "41 bottles 八戒八戒\n",
      "41 bottles 傻的可爱\n",
      "41 bottles 八戒活的真自在\n",
      "40 bottles 在啤酒墙上\n",
      "40 bottles 啤酒\n",
      "40 bottles 八戒八戒\n",
      "40 bottles 心肠不坏\n",
      "40 bottles 八戒八戒\n",
      "40 bottles 傻的可爱\n",
      "40 bottles 肥头大耳多\n",
      "40 bottles 只会只会\n",
      "40 bottles 摔跤学乖\n",
      "40 bottles 八戒活的真自在\n",
      "40 bottles 弄巧成拙\n",
      "40 bottles 八戒活的真自在\n",
      "40 bottles 八戒八戒\n",
      "40 bottles 心肠不坏\n",
      "40 bottles 八戒八戒\n",
      "40 bottles 傻的可爱\n",
      "40 bottles 八戒活的真自在\n",
      "39 bottles 在啤酒墙上\n",
      "39 bottles 啤酒\n",
      "39 bottles 八戒八戒\n",
      "39 bottles 心肠不坏\n",
      "39 bottles 八戒八戒\n",
      "39 bottles 傻的可爱\n",
      "39 bottles 肥头大耳多\n",
      "39 bottles 只会只会\n",
      "39 bottles 摔跤学乖\n",
      "39 bottles 八戒活的真自在\n",
      "39 bottles 弄巧成拙\n",
      "39 bottles 八戒活的真自在\n",
      "39 bottles 八戒八戒\n",
      "39 bottles 心肠不坏\n",
      "39 bottles 八戒八戒\n",
      "39 bottles 傻的可爱\n",
      "39 bottles 八戒活的真自在\n",
      "38 bottles 在啤酒墙上\n",
      "38 bottles 啤酒\n",
      "38 bottles 八戒八戒\n",
      "38 bottles 心肠不坏\n",
      "38 bottles 八戒八戒\n",
      "38 bottles 傻的可爱\n",
      "38 bottles 肥头大耳多\n",
      "38 bottles 只会只会\n",
      "38 bottles 摔跤学乖\n",
      "38 bottles 八戒活的真自在\n",
      "38 bottles 弄巧成拙\n",
      "38 bottles 八戒活的真自在\n",
      "38 bottles 八戒八戒\n",
      "38 bottles 心肠不坏\n",
      "38 bottles 八戒八戒\n",
      "38 bottles 傻的可爱\n",
      "38 bottles 八戒活的真自在\n",
      "37 bottles 在啤酒墙上\n",
      "37 bottles 啤酒\n",
      "37 bottles 八戒八戒\n",
      "37 bottles 心肠不坏\n",
      "37 bottles 八戒八戒\n",
      "37 bottles 傻的可爱\n",
      "37 bottles 肥头大耳多\n",
      "37 bottles 只会只会\n",
      "37 bottles 摔跤学乖\n",
      "37 bottles 八戒活的真自在\n",
      "37 bottles 弄巧成拙\n",
      "37 bottles 八戒活的真自在\n",
      "37 bottles 八戒八戒\n",
      "37 bottles 心肠不坏\n",
      "37 bottles 八戒八戒\n",
      "37 bottles 傻的可爱\n",
      "37 bottles 八戒活的真自在\n",
      "36 bottles 在啤酒墙上\n",
      "36 bottles 啤酒\n",
      "36 bottles 八戒八戒\n",
      "36 bottles 心肠不坏\n",
      "36 bottles 八戒八戒\n",
      "36 bottles 傻的可爱\n",
      "36 bottles 肥头大耳多\n",
      "36 bottles 只会只会\n",
      "36 bottles 摔跤学乖\n",
      "36 bottles 八戒活的真自在\n",
      "36 bottles 弄巧成拙\n",
      "36 bottles 八戒活的真自在\n",
      "36 bottles 八戒八戒\n",
      "36 bottles 心肠不坏\n",
      "36 bottles 八戒八戒\n",
      "36 bottles 傻的可爱\n",
      "36 bottles 八戒活的真自在\n",
      "35 bottles 在啤酒墙上\n",
      "35 bottles 啤酒\n",
      "35 bottles 八戒八戒\n",
      "35 bottles 心肠不坏\n",
      "35 bottles 八戒八戒\n",
      "35 bottles 傻的可爱\n",
      "35 bottles 肥头大耳多\n",
      "35 bottles 只会只会\n",
      "35 bottles 摔跤学乖\n",
      "35 bottles 八戒活的真自在\n",
      "35 bottles 弄巧成拙\n",
      "35 bottles 八戒活的真自在\n",
      "35 bottles 八戒八戒\n",
      "35 bottles 心肠不坏\n",
      "35 bottles 八戒八戒\n",
      "35 bottles 傻的可爱\n",
      "35 bottles 八戒活的真自在\n",
      "34 bottles 在啤酒墙上\n",
      "34 bottles 啤酒\n",
      "34 bottles 八戒八戒\n",
      "34 bottles 心肠不坏\n",
      "34 bottles 八戒八戒\n",
      "34 bottles 傻的可爱\n",
      "34 bottles 肥头大耳多\n",
      "34 bottles 只会只会\n",
      "34 bottles 摔跤学乖\n",
      "34 bottles 八戒活的真自在\n",
      "34 bottles 弄巧成拙\n",
      "34 bottles 八戒活的真自在\n",
      "34 bottles 八戒八戒\n",
      "34 bottles 心肠不坏\n",
      "34 bottles 八戒八戒\n",
      "34 bottles 傻的可爱\n",
      "34 bottles 八戒活的真自在\n",
      "33 bottles 在啤酒墙上\n",
      "33 bottles 啤酒\n",
      "33 bottles 八戒八戒\n",
      "33 bottles 心肠不坏\n",
      "33 bottles 八戒八戒\n",
      "33 bottles 傻的可爱\n",
      "33 bottles 肥头大耳多\n",
      "33 bottles 只会只会\n",
      "33 bottles 摔跤学乖\n",
      "33 bottles 八戒活的真自在\n",
      "33 bottles 弄巧成拙\n",
      "33 bottles 八戒活的真自在\n",
      "33 bottles 八戒八戒\n",
      "33 bottles 心肠不坏\n",
      "33 bottles 八戒八戒\n",
      "33 bottles 傻的可爱\n",
      "33 bottles 八戒活的真自在\n",
      "32 bottles 在啤酒墙上\n",
      "32 bottles 啤酒\n",
      "32 bottles 八戒八戒\n",
      "32 bottles 心肠不坏\n",
      "32 bottles 八戒八戒\n",
      "32 bottles 傻的可爱\n",
      "32 bottles 肥头大耳多\n",
      "32 bottles 只会只会\n",
      "32 bottles 摔跤学乖\n",
      "32 bottles 八戒活的真自在\n",
      "32 bottles 弄巧成拙\n",
      "32 bottles 八戒活的真自在\n",
      "32 bottles 八戒八戒\n",
      "32 bottles 心肠不坏\n",
      "32 bottles 八戒八戒\n",
      "32 bottles 傻的可爱\n",
      "32 bottles 八戒活的真自在\n",
      "31 bottles 在啤酒墙上\n",
      "31 bottles 啤酒\n",
      "31 bottles 八戒八戒\n",
      "31 bottles 心肠不坏\n",
      "31 bottles 八戒八戒\n",
      "31 bottles 傻的可爱\n",
      "31 bottles 肥头大耳多\n",
      "31 bottles 只会只会\n",
      "31 bottles 摔跤学乖\n",
      "31 bottles 八戒活的真自在\n",
      "31 bottles 弄巧成拙\n",
      "31 bottles 八戒活的真自在\n",
      "31 bottles 八戒八戒\n",
      "31 bottles 心肠不坏\n",
      "31 bottles 八戒八戒\n",
      "31 bottles 傻的可爱\n",
      "31 bottles 八戒活的真自在\n",
      "30 bottles 在啤酒墙上\n",
      "30 bottles 啤酒\n",
      "30 bottles 八戒八戒\n",
      "30 bottles 心肠不坏\n",
      "30 bottles 八戒八戒\n",
      "30 bottles 傻的可爱\n",
      "30 bottles 肥头大耳多\n",
      "30 bottles 只会只会\n",
      "30 bottles 摔跤学乖\n",
      "30 bottles 八戒活的真自在\n",
      "30 bottles 弄巧成拙\n",
      "30 bottles 八戒活的真自在\n",
      "30 bottles 八戒八戒\n",
      "30 bottles 心肠不坏\n",
      "30 bottles 八戒八戒\n",
      "30 bottles 傻的可爱\n",
      "30 bottles 八戒活的真自在\n",
      "29 bottles 在啤酒墙上\n",
      "29 bottles 啤酒\n",
      "29 bottles 八戒八戒\n",
      "29 bottles 心肠不坏\n",
      "29 bottles 八戒八戒\n",
      "29 bottles 傻的可爱\n",
      "29 bottles 肥头大耳多\n",
      "29 bottles 只会只会\n",
      "29 bottles 摔跤学乖\n",
      "29 bottles 八戒活的真自在\n",
      "29 bottles 弄巧成拙\n",
      "29 bottles 八戒活的真自在\n",
      "29 bottles 八戒八戒\n",
      "29 bottles 心肠不坏\n",
      "29 bottles 八戒八戒\n",
      "29 bottles 傻的可爱\n",
      "29 bottles 八戒活的真自在\n",
      "28 bottles 在啤酒墙上\n",
      "28 bottles 啤酒\n",
      "28 bottles 八戒八戒\n",
      "28 bottles 心肠不坏\n",
      "28 bottles 八戒八戒\n",
      "28 bottles 傻的可爱\n",
      "28 bottles 肥头大耳多\n",
      "28 bottles 只会只会\n",
      "28 bottles 摔跤学乖\n",
      "28 bottles 八戒活的真自在\n",
      "28 bottles 弄巧成拙\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "28 bottles 八戒活的真自在\n",
      "28 bottles 八戒八戒\n",
      "28 bottles 心肠不坏\n",
      "28 bottles 八戒八戒\n",
      "28 bottles 傻的可爱\n",
      "28 bottles 八戒活的真自在\n",
      "27 bottles 在啤酒墙上\n",
      "27 bottles 啤酒\n",
      "27 bottles 八戒八戒\n",
      "27 bottles 心肠不坏\n",
      "27 bottles 八戒八戒\n",
      "27 bottles 傻的可爱\n",
      "27 bottles 肥头大耳多\n",
      "27 bottles 只会只会\n",
      "27 bottles 摔跤学乖\n",
      "27 bottles 八戒活的真自在\n",
      "27 bottles 弄巧成拙\n",
      "27 bottles 八戒活的真自在\n",
      "27 bottles 八戒八戒\n",
      "27 bottles 心肠不坏\n",
      "27 bottles 八戒八戒\n",
      "27 bottles 傻的可爱\n",
      "27 bottles 八戒活的真自在\n",
      "26 bottles 在啤酒墙上\n",
      "26 bottles 啤酒\n",
      "26 bottles 八戒八戒\n",
      "26 bottles 心肠不坏\n",
      "26 bottles 八戒八戒\n",
      "26 bottles 傻的可爱\n",
      "26 bottles 肥头大耳多\n",
      "26 bottles 只会只会\n",
      "26 bottles 摔跤学乖\n",
      "26 bottles 八戒活的真自在\n",
      "26 bottles 弄巧成拙\n",
      "26 bottles 八戒活的真自在\n",
      "26 bottles 八戒八戒\n",
      "26 bottles 心肠不坏\n",
      "26 bottles 八戒八戒\n",
      "26 bottles 傻的可爱\n",
      "26 bottles 八戒活的真自在\n",
      "25 bottles 在啤酒墙上\n",
      "25 bottles 啤酒\n",
      "25 bottles 八戒八戒\n",
      "25 bottles 心肠不坏\n",
      "25 bottles 八戒八戒\n",
      "25 bottles 傻的可爱\n",
      "25 bottles 肥头大耳多\n",
      "25 bottles 只会只会\n",
      "25 bottles 摔跤学乖\n",
      "25 bottles 八戒活的真自在\n",
      "25 bottles 弄巧成拙\n",
      "25 bottles 八戒活的真自在\n",
      "25 bottles 八戒八戒\n",
      "25 bottles 心肠不坏\n",
      "25 bottles 八戒八戒\n",
      "25 bottles 傻的可爱\n",
      "25 bottles 八戒活的真自在\n",
      "24 bottles 在啤酒墙上\n",
      "24 bottles 啤酒\n",
      "24 bottles 八戒八戒\n",
      "24 bottles 心肠不坏\n",
      "24 bottles 八戒八戒\n",
      "24 bottles 傻的可爱\n",
      "24 bottles 肥头大耳多\n",
      "24 bottles 只会只会\n",
      "24 bottles 摔跤学乖\n",
      "24 bottles 八戒活的真自在\n",
      "24 bottles 弄巧成拙\n",
      "24 bottles 八戒活的真自在\n",
      "24 bottles 八戒八戒\n",
      "24 bottles 心肠不坏\n",
      "24 bottles 八戒八戒\n",
      "24 bottles 傻的可爱\n",
      "24 bottles 八戒活的真自在\n",
      "23 bottles 在啤酒墙上\n",
      "23 bottles 啤酒\n",
      "23 bottles 八戒八戒\n",
      "23 bottles 心肠不坏\n",
      "23 bottles 八戒八戒\n",
      "23 bottles 傻的可爱\n",
      "23 bottles 肥头大耳多\n",
      "23 bottles 只会只会\n",
      "23 bottles 摔跤学乖\n",
      "23 bottles 八戒活的真自在\n",
      "23 bottles 弄巧成拙\n",
      "23 bottles 八戒活的真自在\n",
      "23 bottles 八戒八戒\n",
      "23 bottles 心肠不坏\n",
      "23 bottles 八戒八戒\n",
      "23 bottles 傻的可爱\n",
      "23 bottles 八戒活的真自在\n",
      "22 bottles 在啤酒墙上\n",
      "22 bottles 啤酒\n",
      "22 bottles 八戒八戒\n",
      "22 bottles 心肠不坏\n",
      "22 bottles 八戒八戒\n",
      "22 bottles 傻的可爱\n",
      "22 bottles 肥头大耳多\n",
      "22 bottles 只会只会\n",
      "22 bottles 摔跤学乖\n",
      "22 bottles 八戒活的真自在\n",
      "22 bottles 弄巧成拙\n",
      "22 bottles 八戒活的真自在\n",
      "22 bottles 八戒八戒\n",
      "22 bottles 心肠不坏\n",
      "22 bottles 八戒八戒\n",
      "22 bottles 傻的可爱\n",
      "22 bottles 八戒活的真自在\n",
      "21 bottles 在啤酒墙上\n",
      "21 bottles 啤酒\n",
      "21 bottles 八戒八戒\n",
      "21 bottles 心肠不坏\n",
      "21 bottles 八戒八戒\n",
      "21 bottles 傻的可爱\n",
      "21 bottles 肥头大耳多\n",
      "21 bottles 只会只会\n",
      "21 bottles 摔跤学乖\n",
      "21 bottles 八戒活的真自在\n",
      "21 bottles 弄巧成拙\n",
      "21 bottles 八戒活的真自在\n",
      "21 bottles 八戒八戒\n",
      "21 bottles 心肠不坏\n",
      "21 bottles 八戒八戒\n",
      "21 bottles 傻的可爱\n",
      "21 bottles 八戒活的真自在\n",
      "20 bottles 在啤酒墙上\n",
      "20 bottles 啤酒\n",
      "20 bottles 八戒八戒\n",
      "20 bottles 心肠不坏\n",
      "20 bottles 八戒八戒\n",
      "20 bottles 傻的可爱\n",
      "20 bottles 肥头大耳多\n",
      "20 bottles 只会只会\n",
      "20 bottles 摔跤学乖\n",
      "20 bottles 八戒活的真自在\n",
      "20 bottles 弄巧成拙\n",
      "20 bottles 八戒活的真自在\n",
      "20 bottles 八戒八戒\n",
      "20 bottles 心肠不坏\n",
      "20 bottles 八戒八戒\n",
      "20 bottles 傻的可爱\n",
      "20 bottles 八戒活的真自在\n",
      "19 bottles 在啤酒墙上\n",
      "19 bottles 啤酒\n",
      "19 bottles 八戒八戒\n",
      "19 bottles 心肠不坏\n",
      "19 bottles 八戒八戒\n",
      "19 bottles 傻的可爱\n",
      "19 bottles 肥头大耳多\n",
      "19 bottles 只会只会\n",
      "19 bottles 摔跤学乖\n",
      "19 bottles 八戒活的真自在\n",
      "19 bottles 弄巧成拙\n",
      "19 bottles 八戒活的真自在\n",
      "19 bottles 八戒八戒\n",
      "19 bottles 心肠不坏\n",
      "19 bottles 八戒八戒\n",
      "19 bottles 傻的可爱\n",
      "19 bottles 八戒活的真自在\n",
      "18 bottles 在啤酒墙上\n",
      "18 bottles 啤酒\n",
      "18 bottles 八戒八戒\n",
      "18 bottles 心肠不坏\n",
      "18 bottles 八戒八戒\n",
      "18 bottles 傻的可爱\n",
      "18 bottles 肥头大耳多\n",
      "18 bottles 只会只会\n",
      "18 bottles 摔跤学乖\n",
      "18 bottles 八戒活的真自在\n",
      "18 bottles 弄巧成拙\n",
      "18 bottles 八戒活的真自在\n",
      "18 bottles 八戒八戒\n",
      "18 bottles 心肠不坏\n",
      "18 bottles 八戒八戒\n",
      "18 bottles 傻的可爱\n",
      "18 bottles 八戒活的真自在\n",
      "17 bottles 在啤酒墙上\n",
      "17 bottles 啤酒\n",
      "17 bottles 八戒八戒\n",
      "17 bottles 心肠不坏\n",
      "17 bottles 八戒八戒\n",
      "17 bottles 傻的可爱\n",
      "17 bottles 肥头大耳多\n",
      "17 bottles 只会只会\n",
      "17 bottles 摔跤学乖\n",
      "17 bottles 八戒活的真自在\n",
      "17 bottles 弄巧成拙\n",
      "17 bottles 八戒活的真自在\n",
      "17 bottles 八戒八戒\n",
      "17 bottles 心肠不坏\n",
      "17 bottles 八戒八戒\n",
      "17 bottles 傻的可爱\n",
      "17 bottles 八戒活的真自在\n",
      "16 bottles 在啤酒墙上\n",
      "16 bottles 啤酒\n",
      "16 bottles 八戒八戒\n",
      "16 bottles 心肠不坏\n",
      "16 bottles 八戒八戒\n",
      "16 bottles 傻的可爱\n",
      "16 bottles 肥头大耳多\n",
      "16 bottles 只会只会\n",
      "16 bottles 摔跤学乖\n",
      "16 bottles 八戒活的真自在\n",
      "16 bottles 弄巧成拙\n",
      "16 bottles 八戒活的真自在\n",
      "16 bottles 八戒八戒\n",
      "16 bottles 心肠不坏\n",
      "16 bottles 八戒八戒\n",
      "16 bottles 傻的可爱\n",
      "16 bottles 八戒活的真自在\n",
      "15 bottles 在啤酒墙上\n",
      "15 bottles 啤酒\n",
      "15 bottles 八戒八戒\n",
      "15 bottles 心肠不坏\n",
      "15 bottles 八戒八戒\n",
      "15 bottles 傻的可爱\n",
      "15 bottles 肥头大耳多\n",
      "15 bottles 只会只会\n",
      "15 bottles 摔跤学乖\n",
      "15 bottles 八戒活的真自在\n",
      "15 bottles 弄巧成拙\n",
      "15 bottles 八戒活的真自在\n",
      "15 bottles 八戒八戒\n",
      "15 bottles 心肠不坏\n",
      "15 bottles 八戒八戒\n",
      "15 bottles 傻的可爱\n",
      "15 bottles 八戒活的真自在\n",
      "14 bottles 在啤酒墙上\n",
      "14 bottles 啤酒\n",
      "14 bottles 八戒八戒\n",
      "14 bottles 心肠不坏\n",
      "14 bottles 八戒八戒\n",
      "14 bottles 傻的可爱\n",
      "14 bottles 肥头大耳多\n",
      "14 bottles 只会只会\n",
      "14 bottles 摔跤学乖\n",
      "14 bottles 八戒活的真自在\n",
      "14 bottles 弄巧成拙\n",
      "14 bottles 八戒活的真自在\n",
      "14 bottles 八戒八戒\n",
      "14 bottles 心肠不坏\n",
      "14 bottles 八戒八戒\n",
      "14 bottles 傻的可爱\n",
      "14 bottles 八戒活的真自在\n",
      "13 bottles 在啤酒墙上\n",
      "13 bottles 啤酒\n",
      "13 bottles 八戒八戒\n",
      "13 bottles 心肠不坏\n",
      "13 bottles 八戒八戒\n",
      "13 bottles 傻的可爱\n",
      "13 bottles 肥头大耳多\n",
      "13 bottles 只会只会\n",
      "13 bottles 摔跤学乖\n",
      "13 bottles 八戒活的真自在\n",
      "13 bottles 弄巧成拙\n",
      "13 bottles 八戒活的真自在\n",
      "13 bottles 八戒八戒\n",
      "13 bottles 心肠不坏\n",
      "13 bottles 八戒八戒\n",
      "13 bottles 傻的可爱\n",
      "13 bottles 八戒活的真自在\n",
      "12 bottles 在啤酒墙上\n",
      "12 bottles 啤酒\n",
      "12 bottles 八戒八戒\n",
      "12 bottles 心肠不坏\n",
      "12 bottles 八戒八戒\n",
      "12 bottles 傻的可爱\n",
      "12 bottles 肥头大耳多\n",
      "12 bottles 只会只会\n",
      "12 bottles 摔跤学乖\n",
      "12 bottles 八戒活的真自在\n",
      "12 bottles 弄巧成拙\n",
      "12 bottles 八戒活的真自在\n",
      "12 bottles 八戒八戒\n",
      "12 bottles 心肠不坏\n",
      "12 bottles 八戒八戒\n",
      "12 bottles 傻的可爱\n",
      "12 bottles 八戒活的真自在\n",
      "11 bottles 在啤酒墙上\n",
      "11 bottles 啤酒\n",
      "11 bottles 八戒八戒\n",
      "11 bottles 心肠不坏\n",
      "11 bottles 八戒八戒\n",
      "11 bottles 傻的可爱\n",
      "11 bottles 肥头大耳多\n",
      "11 bottles 只会只会\n",
      "11 bottles 摔跤学乖\n",
      "11 bottles 八戒活的真自在\n",
      "11 bottles 弄巧成拙\n",
      "11 bottles 八戒活的真自在\n",
      "11 bottles 八戒八戒\n",
      "11 bottles 心肠不坏\n",
      "11 bottles 八戒八戒\n",
      "11 bottles 傻的可爱\n",
      "11 bottles 八戒活的真自在\n",
      "10 bottles 在啤酒墙上\n",
      "10 bottles 啤酒\n",
      "10 bottles 八戒八戒\n",
      "10 bottles 心肠不坏\n",
      "10 bottles 八戒八戒\n",
      "10 bottles 傻的可爱\n",
      "10 bottles 肥头大耳多\n",
      "10 bottles 只会只会\n",
      "10 bottles 摔跤学乖\n",
      "10 bottles 八戒活的真自在\n",
      "10 bottles 弄巧成拙\n",
      "10 bottles 八戒活的真自在\n",
      "10 bottles 八戒八戒\n",
      "10 bottles 心肠不坏\n",
      "10 bottles 八戒八戒\n",
      "10 bottles 傻的可爱\n",
      "10 bottles 八戒活的真自在\n",
      "9 bottles 在啤酒墙上\n",
      "9 bottles 啤酒\n",
      "9 bottles 八戒八戒\n",
      "9 bottles 心肠不坏\n",
      "9 bottles 八戒八戒\n",
      "9 bottles 傻的可爱\n",
      "9 bottles 肥头大耳多\n",
      "9 bottles 只会只会\n",
      "9 bottles 摔跤学乖\n",
      "9 bottles 八戒活的真自在\n",
      "9 bottles 弄巧成拙\n",
      "9 bottles 八戒活的真自在\n",
      "9 bottles 八戒八戒\n",
      "9 bottles 心肠不坏\n",
      "9 bottles 八戒八戒\n",
      "9 bottles 傻的可爱\n",
      "9 bottles 八戒活的真自在\n",
      "8 bottles 在啤酒墙上\n",
      "8 bottles 啤酒\n",
      "8 bottles 八戒八戒\n",
      "8 bottles 心肠不坏\n",
      "8 bottles 八戒八戒\n",
      "8 bottles 傻的可爱\n",
      "8 bottles 肥头大耳多\n",
      "8 bottles 只会只会\n",
      "8 bottles 摔跤学乖\n",
      "8 bottles 八戒活的真自在\n",
      "8 bottles 弄巧成拙\n",
      "8 bottles 八戒活的真自在\n",
      "8 bottles 八戒八戒\n",
      "8 bottles 心肠不坏\n",
      "8 bottles 八戒八戒\n",
      "8 bottles 傻的可爱\n",
      "8 bottles 八戒活的真自在\n",
      "7 bottles 在啤酒墙上\n",
      "7 bottles 啤酒\n",
      "7 bottles 八戒八戒\n",
      "7 bottles 心肠不坏\n",
      "7 bottles 八戒八戒\n",
      "7 bottles 傻的可爱\n",
      "7 bottles 肥头大耳多\n",
      "7 bottles 只会只会\n",
      "7 bottles 摔跤学乖\n",
      "7 bottles 八戒活的真自在\n",
      "7 bottles 弄巧成拙\n",
      "7 bottles 八戒活的真自在\n",
      "7 bottles 八戒八戒\n",
      "7 bottles 心肠不坏\n",
      "7 bottles 八戒八戒\n",
      "7 bottles 傻的可爱\n",
      "7 bottles 八戒活的真自在\n",
      "6 bottles 在啤酒墙上\n",
      "6 bottles 啤酒\n",
      "6 bottles 八戒八戒\n",
      "6 bottles 心肠不坏\n",
      "6 bottles 八戒八戒\n",
      "6 bottles 傻的可爱\n",
      "6 bottles 肥头大耳多\n",
      "6 bottles 只会只会\n",
      "6 bottles 摔跤学乖\n",
      "6 bottles 八戒活的真自在\n",
      "6 bottles 弄巧成拙\n",
      "6 bottles 八戒活的真自在\n",
      "6 bottles 八戒八戒\n",
      "6 bottles 心肠不坏\n",
      "6 bottles 八戒八戒\n",
      "6 bottles 傻的可爱\n",
      "6 bottles 八戒活的真自在\n",
      "5 bottles 在啤酒墙上\n",
      "5 bottles 啤酒\n",
      "5 bottles 八戒八戒\n",
      "5 bottles 心肠不坏\n",
      "5 bottles 八戒八戒\n",
      "5 bottles 傻的可爱\n",
      "5 bottles 肥头大耳多\n",
      "5 bottles 只会只会\n",
      "5 bottles 摔跤学乖\n",
      "5 bottles 八戒活的真自在\n",
      "5 bottles 弄巧成拙\n",
      "5 bottles 八戒活的真自在\n",
      "5 bottles 八戒八戒\n",
      "5 bottles 心肠不坏\n",
      "5 bottles 八戒八戒\n",
      "5 bottles 傻的可爱\n",
      "5 bottles 八戒活的真自在\n",
      "4 bottles 在啤酒墙上\n",
      "4 bottles 啤酒\n",
      "4 bottles 八戒八戒\n",
      "4 bottles 心肠不坏\n",
      "4 bottles 八戒八戒\n",
      "4 bottles 傻的可爱\n",
      "4 bottles 肥头大耳多\n",
      "4 bottles 只会只会\n",
      "4 bottles 摔跤学乖\n",
      "4 bottles 八戒活的真自在\n",
      "4 bottles 弄巧成拙\n",
      "4 bottles 八戒活的真自在\n",
      "4 bottles 八戒八戒\n",
      "4 bottles 心肠不坏\n",
      "4 bottles 八戒八戒\n",
      "4 bottles 傻的可爱\n",
      "4 bottles 八戒活的真自在\n",
      "3 bottles 在啤酒墙上\n",
      "3 bottles 啤酒\n",
      "3 bottles 八戒八戒\n",
      "3 bottles 心肠不坏\n",
      "3 bottles 八戒八戒\n",
      "3 bottles 傻的可爱\n",
      "3 bottles 肥头大耳多\n",
      "3 bottles 只会只会\n",
      "3 bottles 摔跤学乖\n",
      "3 bottles 八戒活的真自在\n",
      "3 bottles 弄巧成拙\n",
      "3 bottles 八戒活的真自在\n",
      "3 bottles 八戒八戒\n",
      "3 bottles 心肠不坏\n",
      "3 bottles 八戒八戒\n",
      "3 bottles 傻的可爱\n",
      "3 bottles 八戒活的真自在\n",
      "2 bottles 在啤酒墙上\n",
      "2 bottles 啤酒\n",
      "2 bottles 八戒八戒\n",
      "2 bottles 心肠不坏\n",
      "2 bottles 八戒八戒\n",
      "2 bottles 傻的可爱\n",
      "2 bottles 肥头大耳多\n",
      "2 bottles 只会只会\n",
      "2 bottles 摔跤学乖\n",
      "2 bottles 八戒活的真自在\n",
      "2 bottles 弄巧成拙\n",
      "2 bottles 八戒活的真自在\n",
      "2 bottles 八戒八戒\n",
      "2 bottles 心肠不坏\n",
      "2 bottles 八戒八戒\n",
      "2 bottles 傻的可爱\n",
      "2 bottles 八戒活的真自在\n",
      "1 bottles 在啤酒墙上\n",
      "1 bottles 啤酒\n",
      "1 bottles 八戒八戒\n",
      "1 bottles 心肠不坏\n",
      "1 bottles 八戒八戒\n",
      "1 bottles 傻的可爱\n",
      "1 bottles 肥头大耳多\n",
      "1 bottles 只会只会\n",
      "1 bottles 摔跤学乖\n",
      "1 bottles 八戒活的真自在\n",
      "1 bottles 弄巧成拙\n",
      "1 bottles 八戒活的真自在\n",
      "1 bottles 八戒八戒\n",
      "1 bottles 心肠不坏\n",
      "1 bottles 八戒八戒\n",
      "1 bottles 傻的可爱\n",
      "1 bottles 八戒活的真自在\n"
     ]
    }
   ],
   "source": [
    "word = \"bottles\"\n",
    "\n",
    "for beer_num in range(99,0,-1):\n",
    "    print(beer_num, word, \"在啤酒墙上\")\n",
    "    print(beer_num, word, \"啤酒\")\n",
    "    print(beer_num, word, \"八戒八戒\")\n",
    "    print(beer_num, word, \"心肠不坏\")\n",
    "    print(beer_num, word, \"八戒八戒\")\n",
    "    print(beer_num, word, \"傻的可爱\")\n",
    "    print(beer_num, word, \"肥头大耳多\")\n",
    "    print(beer_num, word, \"只会只会\")\n",
    "    print(beer_num, word, \"摔跤学乖\")\n",
    "    print(beer_num, word, \"八戒活的真自在\")\n",
    "    print(beer_num, word, \"弄巧成拙\")\n",
    "    print(beer_num, word, \"八戒活的真自在\")\n",
    "    print(beer_num, word, \"八戒八戒\")\n",
    "    print(beer_num, word, \"心肠不坏\")\n",
    "    print(beer_num, word, \"八戒八戒\")\n",
    "    print(beer_num, word, \"傻的可爱\")\n",
    "    print(beer_num, word, \"八戒活的真自在\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d3989f62",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
